pub struct SecurityDetails {
pub protocol: String,
pub key_exchange: String,
pub key_exchange_group: Option<String>,
pub cipher: String,
pub mac: Option<String>,
pub subject_name: String,
pub san_list: Vec<String>,
pub issuer: String,
pub valid_from: TimeSinceEpoch,
pub valid_to: TimeSinceEpoch,
}Expand description
Security details about a request.
Fields§
§protocol: StringProtocol name (e.g. “TLS 1.2” or “QUIC”).
key_exchange: StringKey Exchange used by the connection.
key_exchange_group: Option<String>(EC)DH group used by the connection, if applicable.
cipher: StringCipher name.
mac: Option<String>TLS MAC.
subject_name: StringCertificate subject name.
san_list: Vec<String>Subject Alternative Name (SAN) DNS names and IP addresses.
issuer: StringName of the issuing CA.
valid_from: TimeSinceEpochCertificate valid from date.
valid_to: TimeSinceEpochCertificate valid to (expiration) date.
Trait Implementations§
Source§impl Clone for SecurityDetails
impl Clone for SecurityDetails
Source§fn clone(&self) -> SecurityDetails
fn clone(&self) -> SecurityDetails
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 SecurityDetails
impl Debug for SecurityDetails
Source§impl<'de> Deserialize<'de> for SecurityDetails
impl<'de> Deserialize<'de> for SecurityDetails
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
Auto Trait Implementations§
impl Freeze for SecurityDetails
impl RefUnwindSafe for SecurityDetails
impl Send for SecurityDetails
impl Sync for SecurityDetails
impl Unpin for SecurityDetails
impl UnwindSafe for SecurityDetails
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