pub struct CertificateInfo {
pub subject: String,
pub issuer: String,
pub serial_number: String,
pub not_before: String,
pub not_after: String,
pub is_valid: bool,
}Expand description
Information about a certificate in the chain
Fields§
§subject: StringSubject distinguished name
issuer: StringIssuer distinguished name
serial_number: StringSerial number (hex)
not_before: StringNot valid before
not_after: StringNot valid after
is_valid: boolWhether the certificate is currently valid
Trait Implementations§
Source§impl Clone for CertificateInfo
impl Clone for CertificateInfo
Source§fn clone(&self) -> CertificateInfo
fn clone(&self) -> CertificateInfo
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 CertificateInfo
impl RefUnwindSafe for CertificateInfo
impl Send for CertificateInfo
impl Sync for CertificateInfo
impl Unpin for CertificateInfo
impl UnwindSafe for CertificateInfo
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