pub struct ServerCert {
pub common_name: String,
pub signature_algorithm: String,
pub sans: Vec<String>,
pub country: String,
pub state: String,
pub locality: String,
pub organization: String,
pub not_after: DateTime<Utc>,
pub not_before: DateTime<Utc>,
pub issuer: String,
pub is_valid: bool,
pub time_to_expiration: String,
}Fields§
§common_name: String§signature_algorithm: String§sans: Vec<String>§country: String§state: String§locality: String§organization: String§not_after: DateTime<Utc>§not_before: DateTime<Utc>§issuer: String§is_valid: bool§time_to_expiration: StringTrait Implementations§
Source§impl Debug for ServerCert
impl Debug for ServerCert
Source§impl<'de> Deserialize<'de> for ServerCert
impl<'de> Deserialize<'de> for ServerCert
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
Source§impl PartialEq for ServerCert
impl PartialEq for ServerCert
Source§impl Serialize for ServerCert
impl Serialize for ServerCert
impl StructuralPartialEq for ServerCert
Auto Trait Implementations§
impl Freeze for ServerCert
impl RefUnwindSafe for ServerCert
impl Send for ServerCert
impl Sync for ServerCert
impl Unpin for ServerCert
impl UnwindSafe for ServerCert
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