Struct vsmtp_common::TlsProperties
pub struct TlsProperties {
pub protocol_version: ProtocolVersion,
pub cipher_suite: CipherSuite,
pub peer_certificates: Option<Vec<Certificate>>,
pub alpn_protocol: Option<Vec<u8>>,
}Expand description
Properties of the TLS connection
Fields§
§protocol_version: ProtocolVersion§cipher_suite: CipherSuite§peer_certificates: Option<Vec<Certificate>>§alpn_protocol: Option<Vec<u8>>Trait Implementations§
§impl Clone for TlsProperties
impl Clone for TlsProperties
§fn clone(&self) -> TlsProperties
fn clone(&self) -> TlsProperties
Returns a copy 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 more§impl Debug for TlsProperties
impl Debug for TlsProperties
§impl<'de> Deserialize<'de> for TlsProperties
impl<'de> Deserialize<'de> for TlsProperties
§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