pub struct CertMetadata {
pub domain: String,
pub not_before: DateTime<Utc>,
pub not_after: DateTime<Utc>,
pub provisioned_at: DateTime<Utc>,
pub fingerprint: String,
}Expand description
Metadata about a stored certificate for tracking expiry and renewal
Fields§
§domain: StringThe domain this certificate is for
not_before: DateTime<Utc>Certificate validity start time
not_after: DateTime<Utc>Certificate expiry time
provisioned_at: DateTime<Utc>When this certificate was provisioned/stored
fingerprint: StringSHA256 fingerprint of the certificate
Trait Implementations§
Source§impl Clone for CertMetadata
impl Clone for CertMetadata
Source§fn clone(&self) -> CertMetadata
fn clone(&self) -> CertMetadata
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 moreSource§impl Debug for CertMetadata
impl Debug for CertMetadata
Source§impl<'de> Deserialize<'de> for CertMetadata
impl<'de> Deserialize<'de> for CertMetadata
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 CertMetadata
impl RefUnwindSafe for CertMetadata
impl Send for CertMetadata
impl Sync for CertMetadata
impl Unpin for CertMetadata
impl UnsafeUnpin for CertMetadata
impl UnwindSafe for CertMetadata
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