pub struct SecurityDetails<'a> { /* private fields */ }Expand description
Security details about a request.
Implementations§
Source§impl<'a> SecurityDetails<'a>
impl<'a> SecurityDetails<'a>
pub fn builder( protocol: impl Into<Cow<'a, str>>, keyExchange: impl Into<Cow<'a, str>>, cipher: impl Into<Cow<'a, str>>, certificateId: CertificateId, subjectName: impl Into<Cow<'a, str>>, sanList: Vec<Cow<'a, str>>, issuer: impl Into<Cow<'a, str>>, validFrom: TimeSinceEpoch, validTo: TimeSinceEpoch, signedCertificateTimestampList: Vec<SignedCertificateTimestamp<'a>>, certificateTransparencyCompliance: CertificateTransparencyCompliance, encryptedClientHello: bool, ) -> SecurityDetailsBuilder<'a>
pub fn protocol(&self) -> &str
pub fn keyExchange(&self) -> &str
pub fn keyExchangeGroup(&self) -> Option<&str>
pub fn cipher(&self) -> &str
pub fn mac(&self) -> Option<&str>
pub fn certificateId(&self) -> &CertificateId
pub fn subjectName(&self) -> &str
pub fn sanList(&self) -> &[Cow<'a, str>]
pub fn issuer(&self) -> &str
pub fn validFrom(&self) -> &TimeSinceEpoch
pub fn validTo(&self) -> &TimeSinceEpoch
pub fn signedCertificateTimestampList( &self, ) -> &[SignedCertificateTimestamp<'a>]
pub fn certificateTransparencyCompliance( &self, ) -> &CertificateTransparencyCompliance
pub fn serverSignatureAlgorithm(&self) -> Option<i64>
pub fn encryptedClientHello(&self) -> bool
Trait Implementations§
Source§impl<'a> Clone for SecurityDetails<'a>
impl<'a> Clone for SecurityDetails<'a>
Source§fn clone(&self) -> SecurityDetails<'a>
fn clone(&self) -> SecurityDetails<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SecurityDetails<'a>
impl<'a> Debug for SecurityDetails<'a>
Source§impl<'a> Default for SecurityDetails<'a>
impl<'a> Default for SecurityDetails<'a>
Source§fn default() -> SecurityDetails<'a>
fn default() -> SecurityDetails<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SecurityDetails<'a>
impl<'de, 'a> Deserialize<'de> for SecurityDetails<'a>
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<'a> Freeze for SecurityDetails<'a>
impl<'a> RefUnwindSafe for SecurityDetails<'a>
impl<'a> Send for SecurityDetails<'a>
impl<'a> Sync for SecurityDetails<'a>
impl<'a> Unpin for SecurityDetails<'a>
impl<'a> UnsafeUnpin for SecurityDetails<'a>
impl<'a> UnwindSafe for SecurityDetails<'a>
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