pub struct SecurityDetails {
pub protocol: Option<String>,
pub subject_name: Option<String>,
pub issuer: Option<String>,
pub valid_from: Option<f64>,
pub valid_to: Option<f64>,
}Expand description
TLS/SSL certificate details, derived from the CDP
Network.Response.securityDetails object.
Fields§
§protocol: Option<String>TLS protocol name (e.g. “TLS 1.3”).
subject_name: Option<String>Certificate subject (CN).
issuer: Option<String>Certificate issuer (CN).
valid_from: Option<f64>Certificate validity start (Unix epoch seconds).
valid_to: Option<f64>Certificate validity end (Unix epoch seconds).
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
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 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