pub struct SecurityDetails {
pub protocol: String,
pub subject_name: String,
pub issuer: String,
pub valid_from: f64,
pub valid_to: f64,
pub san_list: Vec<String>,
}Expand description
Security details for HTTPS responses.
Fields§
§protocol: StringTLS protocol name (e.g., “TLS 1.3”).
subject_name: StringCertificate subject name.
issuer: StringCertificate issuer.
valid_from: f64Certificate valid from (Unix timestamp).
valid_to: f64Certificate valid to (Unix timestamp).
san_list: Vec<String>Subject Alternative Names.
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 From<SecurityDetails> for SecurityDetails
impl From<SecurityDetails> for SecurityDetails
Source§fn from(details: SecurityDetails) -> Self
fn from(details: SecurityDetails) -> Self
Converts to this type from the input type.
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