Struct google_datamigration1::api::MySqlConnectionProfile[][src]

pub struct MySqlConnectionProfile {
    pub cloud_sql_id: Option<String>,
    pub host: Option<String>,
    pub password: Option<String>,
    pub password_set: Option<bool>,
    pub port: Option<i32>,
    pub ssl: Option<SslConfig>,
    pub username: Option<String>,
}

Specifies connection parameters required specifically for MySQL databases.

This type is not used in any activity, and only used as part of another schema.

Fields

cloud_sql_id: Option<String>

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

host: Option<String>

Required. The IP or hostname of the source MySQL database.

password: Option<String>

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

password_set: Option<bool>

Output only. Indicates If this connection profile password is stored.

port: Option<i32>

Required. The network port of the source MySQL database.

ssl: Option<SslConfig>

SSL configuration for the destination to connect to the source database.

username: Option<String>

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

Trait Implementations

impl Clone for MySqlConnectionProfile[src]

impl Debug for MySqlConnectionProfile[src]

impl Default for MySqlConnectionProfile[src]

impl<'de> Deserialize<'de> for MySqlConnectionProfile[src]

impl Part for MySqlConnectionProfile[src]

impl Serialize for MySqlConnectionProfile[src]

Auto Trait Implementations

impl RefUnwindSafe for MySqlConnectionProfile[src]

impl Send for MySqlConnectionProfile[src]

impl Sync for MySqlConnectionProfile[src]

impl Unpin for MySqlConnectionProfile[src]

impl UnwindSafe for MySqlConnectionProfile[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.