pub struct CertInfo {
pub id: ShortId,
pub kind: CertKind,
pub fingerprint: String,
pub issuer: String,
pub root_cert: Option<String>,
pub san: Vec<SubjectName>,
pub not_after: i64,
pub not_before: i64,
pub is_ca: bool,
pub has_private_key: bool,
pub metadata: Option<CertMetadata>,
}
Fields§
§id: ShortId
§kind: CertKind
§fingerprint: String
§issuer: String
§root_cert: Option<String>
§san: Vec<SubjectName>
§not_after: i64
§not_before: i64
§is_ca: bool
§has_private_key: bool
§metadata: Option<CertMetadata>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CertInfo
impl<'de> Deserialize<'de> for CertInfo
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
impl Eq for CertInfo
impl StructuralPartialEq for CertInfo
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<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.