Struct google_datamigration1::api::SslConfig[][src]

pub struct SslConfig {
    pub ca_certificate: Option<String>,
    pub client_certificate: Option<String>,
    pub client_key: Option<String>,
    pub type_: Option<String>,
}

SSL configuration information.

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

Fields

ca_certificate: Option<String>

Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

client_certificate: Option<String>

Input only. The x509 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' field is mandatory.

client_key: Option<String>

Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.

type_: Option<String>

Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.

Trait Implementations

impl Clone for SslConfig[src]

impl Debug for SslConfig[src]

impl Default for SslConfig[src]

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

impl Part for SslConfig[src]

impl Serialize for SslConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for SslConfig[src]

impl Send for SslConfig[src]

impl Sync for SslConfig[src]

impl Unpin for SslConfig[src]

impl UnwindSafe for SslConfig[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.