pub struct SecurityDetails {
pub protocol: Option<String>,
pub cipher: Option<String>,
pub issuer: Option<String>,
pub subject_name: Option<String>,
pub valid_from: Option<f64>,
pub valid_to: Option<f64>,
}Expand description
TLS/security details for a response, mirroring CDP’s
Security/securityStateChanged / Network.responseReceived security info.
Self-contained DTO; all fields optional since CDP omits any that don’t apply to a given connection.
Fields§
§protocol: Option<String>TLS protocol (e.g. "TLS 1.3"), if known.
cipher: Option<String>Cipher name, if known.
issuer: Option<String>Issuer of the server certificate, if known.
subject_name: Option<String>Subject (CN) of the server certificate, if known.
valid_from: Option<f64>Unix-epoch seconds at which the certificate is valid from, if known.
valid_to: Option<f64>Unix-epoch seconds at which the certificate expires, if known.
Implementations§
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 (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 Debug for SecurityDetails
impl Debug for SecurityDetails
Source§impl Default for SecurityDetails
impl Default for SecurityDetails
Source§fn default() -> SecurityDetails
fn default() -> SecurityDetails
Returns the “default value” for a type. 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 UnsafeUnpin 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