Struct google_api_proto::google::cloud::clouddms::v1::MySqlConnectionProfile
source · pub struct MySqlConnectionProfile {
pub host: String,
pub port: i32,
pub username: String,
pub password: String,
pub password_set: bool,
pub ssl: Option<SslConfig>,
pub cloud_sql_id: String,
}
Expand description
Specifies connection parameters required specifically for MySQL databases.
Fields§
§host: String
Required. The IP or hostname of the source MySQL database.
port: i32
Required. The network port of the source MySQL database.
username: 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.
password: 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: bool
Output only. Indicates If this connection profile password is stored.
ssl: Option<SslConfig>
SSL configuration for the destination to connect to the source database.
cloud_sql_id: String
If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
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§impl Message for MySqlConnectionProfile
impl Message for MySqlConnectionProfile
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for MySqlConnectionProfile
impl PartialEq for MySqlConnectionProfile
source§fn eq(&self, other: &MySqlConnectionProfile) -> bool
fn eq(&self, other: &MySqlConnectionProfile) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request