Struct gapi_grpc::google::cloud::clouddms::v1::DatabaseType[][src]

pub struct DatabaseType {
    pub provider: i32,
    pub engine: i32,
}

A message defining the database engine and provider.

Fields

provider: i32

The database provider.

engine: i32

The database engine.

Implementations

impl DatabaseType[src]

pub fn provider(&self) -> DatabaseProvider[src]

Returns the enum value of provider, or the default if the field is set to an invalid enum value.

pub fn set_provider(&mut self, value: DatabaseProvider)[src]

Sets provider to the provided enum value.

pub fn engine(&self) -> DatabaseEngine[src]

Returns the enum value of engine, or the default if the field is set to an invalid enum value.

pub fn set_engine(&mut self, value: DatabaseEngine)[src]

Sets engine to the provided enum value.

Trait Implementations

impl Clone for DatabaseType[src]

impl Debug for DatabaseType[src]

impl Default for DatabaseType[src]

impl Message for DatabaseType[src]

impl PartialEq<DatabaseType> for DatabaseType[src]

impl StructuralPartialEq for DatabaseType[src]

Auto Trait Implementations

impl RefUnwindSafe for DatabaseType

impl Send for DatabaseType

impl Sync for DatabaseType

impl Unpin for DatabaseType

impl UnwindSafe for DatabaseType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]