pub struct MysqlSslConfig {
pub ca_certificate: Option<String>,
pub ca_certificate_set: Option<bool>,
pub client_certificate: Option<String>,
pub client_certificate_set: Option<bool>,
pub client_key: Option<String>,
pub client_key_set: Option<bool>,
}Expand description
MySQL SSL configuration information.
This type is not used in any activity, and only used as part of another schema.
Fields§
§ca_certificate: Option<String>Input only. PEM-encoded certificate of the CA that signed the source database server’s certificate.
ca_certificate_set: Option<bool>Output only. Indicates whether the ca_certificate field is set.
client_certificate: Option<String>Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the ‘client_key’ and the ‘ca_certificate’ fields are mandatory.
client_certificate_set: Option<bool>Output only. Indicates whether the client_certificate field is set.
client_key: Option<String>Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the ‘client_certificate’ and the ‘ca_certificate’ fields are mandatory.
client_key_set: Option<bool>Output only. Indicates whether the client_key field is set.
Trait Implementations§
Source§impl Clone for MysqlSslConfig
impl Clone for MysqlSslConfig
Source§fn clone(&self) -> MysqlSslConfig
fn clone(&self) -> MysqlSslConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MysqlSslConfig
impl Debug for MysqlSslConfig
Source§impl Default for MysqlSslConfig
impl Default for MysqlSslConfig
Source§fn default() -> MysqlSslConfig
fn default() -> MysqlSslConfig
Source§impl<'de> Deserialize<'de> for MysqlSslConfig
impl<'de> Deserialize<'de> for MysqlSslConfig
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 MysqlSslConfig
impl Serialize for MysqlSslConfig
impl Part for MysqlSslConfig
Auto Trait Implementations§
impl Freeze for MysqlSslConfig
impl RefUnwindSafe for MysqlSslConfig
impl Send for MysqlSslConfig
impl Sync for MysqlSslConfig
impl Unpin for MysqlSslConfig
impl UnwindSafe for MysqlSslConfig
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