pub struct ServerVerification {
pub ca_certificate: Option<String>,
pub server_certificate_hostname: Option<String>,
}Expand description
Message represents the option where Datastream will enforce the encryption and authenticate the server identity. ca_certificate must be set if user selects this option.
This type is not used in any activity, and only used as part of another schema.
Fields§
§ca_certificate: Option<String>Required. Input only. PEM-encoded server root CA certificate.
server_certificate_hostname: Option<String>Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.
Trait Implementations§
Source§impl Clone for ServerVerification
impl Clone for ServerVerification
Source§fn clone(&self) -> ServerVerification
fn clone(&self) -> ServerVerification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerVerification
impl Debug for ServerVerification
Source§impl Default for ServerVerification
impl Default for ServerVerification
Source§fn default() -> ServerVerification
fn default() -> ServerVerification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerVerification
impl<'de> Deserialize<'de> for ServerVerification
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ServerVerification
impl Serialize for ServerVerification
impl Part for ServerVerification
Auto Trait Implementations§
impl Freeze for ServerVerification
impl RefUnwindSafe for ServerVerification
impl Send for ServerVerification
impl Sync for ServerVerification
impl Unpin for ServerVerification
impl UnwindSafe for ServerVerification
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
Mutably borrows from an owned value. Read more