Struct gapi_grpc::google::cloud::clouddms::v1::SslConfig[][src]

pub struct SslConfig {
    pub type: i32,
    pub client_key: String,
    pub client_certificate: String,
    pub ca_certificate: String,
}

SSL configuration information.

Fields

type: i32

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

client_key: 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.

client_certificate: 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.

ca_certificate: 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.

Implementations

impl SslConfig[src]

pub fn type(&self) -> SslType[src]

Returns the enum value of type, or the default if the field is set to an invalid enum value.

pub fn set_type(&mut self, value: SslType)[src]

Sets type to the provided enum value.

Trait Implementations

impl Clone for SslConfig[src]

impl Debug for SslConfig[src]

impl Default for SslConfig[src]

impl Message for SslConfig[src]

impl PartialEq<SslConfig> for SslConfig[src]

impl StructuralPartialEq for SslConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for SslConfig

impl Send for SslConfig

impl Sync for SslConfig

impl Unpin for SslConfig

impl UnwindSafe for SslConfig

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]