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>,
}
Expand description
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§
Source§impl Clone for MySqlConnectionProfile
impl Clone for MySqlConnectionProfile
Source§fn clone(&self) -> MySqlConnectionProfile
fn clone(&self) -> MySqlConnectionProfile
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MySqlConnectionProfile
impl Debug for MySqlConnectionProfile
Source§impl Default for MySqlConnectionProfile
impl Default for MySqlConnectionProfile
Source§fn default() -> MySqlConnectionProfile
fn default() -> MySqlConnectionProfile
Source§impl<'de> Deserialize<'de> for MySqlConnectionProfile
impl<'de> Deserialize<'de> for MySqlConnectionProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for MySqlConnectionProfile
impl Serialize for MySqlConnectionProfile
impl Part for MySqlConnectionProfile
Auto Trait Implementations§
impl Freeze for MySqlConnectionProfile
impl RefUnwindSafe for MySqlConnectionProfile
impl Send for MySqlConnectionProfile
impl Sync for MySqlConnectionProfile
impl Unpin for MySqlConnectionProfile
impl UnwindSafe for MySqlConnectionProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more