pub struct Expiry {
pub now: UtcDateTime,
pub expires_at: UtcDateTime,
pub expired: bool,
}Expand description
A verified certificate’s expiry at the caller’s now (Verified::is_expired).
Fields§
§now: UtcDateTimeThe time the caller checked expiry at.
expires_at: UtcDateTimeThe certificate’s expires_at.
expired: boolWhether now is not before expires_at.
Trait Implementations§
impl Copy for Expiry
impl Eq for Expiry
impl StructuralPartialEq for Expiry
Auto Trait Implementations§
impl Forget for Expiry
impl Freeze for Expiry
impl Move for Expiry
impl RefUnwindSafe for Expiry
impl Send for Expiry
impl Sync for Expiry
impl Unpin for Expiry
impl UnsafeUnpin for Expirywhere
NonZeroI32Inner: UnsafeUnpin,
impl UnwindSafe for Expiry
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