pub struct CertInfo {
pub common_name: Option<String>,
pub subject: String,
pub serial: Option<String>,
pub organization: Option<String>,
}
Expand description
TLS certificate information extracted from peer
Fields§
§common_name: Option<String>
Common Name from certificate subject
subject: String
Full subject distinguished name
serial: Option<String>
Certificate serial number
organization: Option<String>
Organization
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CertInfo
impl RefUnwindSafe for CertInfo
impl Send for CertInfo
impl Sync for CertInfo
impl Unpin for CertInfo
impl UnwindSafe for CertInfo
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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