pub struct SecurityDetails {
pub issuer: Option<String>,
pub protocol: Option<String>,
pub subject_name: Option<String>,
pub valid_from: Option<f64>,
pub valid_to: Option<f64>,
}Expand description
TLS/SSL security details for an HTTPS response.
All fields are optional — the server provides what’s available.
See: https://playwright.dev/docs/api/class-response#response-security-details
Fields§
§issuer: Option<String>Certificate issuer name.
protocol: Option<String>TLS protocol version (e.g., “TLS 1.3”).
subject_name: Option<String>Certificate subject name.
valid_from: Option<f64>Unix timestamp (seconds) when the certificate becomes valid.
valid_to: Option<f64>Unix timestamp (seconds) when the certificate expires.
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 moreAuto 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