Struct gapi_grpc::google::cloud::metastore::v1alpha::metadata_import::DatabaseDump[][src]

pub struct DatabaseDump {
    pub database_type: i32,
    pub gcs_uri: String,
    pub source_database: String,
    pub type: i32,
}

A specification of the location of and metadata about a database dump from a relational database management system.

Fields

database_type: i32

The type of the database.

gcs_uri: String

A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with gs://.

source_database: String

The name of the source database.

type: i32

Optional. The type of the database dump. If unspecified, defaults to MYSQL.

Implementations

impl DatabaseDump[src]

pub fn database_type(&self) -> DatabaseType[src]

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

pub fn set_database_type(&mut self, value: DatabaseType)[src]

Sets database_type to the provided enum value.

pub fn type(&self) -> Type[src]

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

pub fn set_type(&mut self, value: Type)[src]

Sets type to the provided enum value.

Trait Implementations

impl Clone for DatabaseDump[src]

impl Debug for DatabaseDump[src]

impl Default for DatabaseDump[src]

impl Message for DatabaseDump[src]

impl PartialEq<DatabaseDump> for DatabaseDump[src]

impl StructuralPartialEq for DatabaseDump[src]

Auto Trait Implementations

impl RefUnwindSafe for DatabaseDump

impl Send for DatabaseDump

impl Sync for DatabaseDump

impl Unpin for DatabaseDump

impl UnwindSafe for DatabaseDump

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]