pub struct Validity {
pub not_before: Time,
pub not_after: Time,
}Expand description
X.501 Validity as defined in RFC 5280 Section 4.1.2.5
Validity ::= SEQUENCE {
notBefore Time,
notAfter Time
}Fields§
§not_before: TimenotBefore value
not_after: TimenotAfter value
Trait Implementations§
impl Copy for Validity
Source§impl<'__der_lifetime> DecodeValue<'__der_lifetime> for Validity
impl<'__der_lifetime> DecodeValue<'__der_lifetime> for Validity
Source§impl<'__der_lifetime> EncodeValue for Validity
impl<'__der_lifetime> EncodeValue for Validity
impl Eq for Validity
impl<'__der_lifetime> Sequence<'__der_lifetime> for Validity
impl StructuralPartialEq for Validity
Auto Trait Implementations§
impl Forget for Validity
impl Freeze for Validity
impl Move for Validity
impl RefUnwindSafe for Validity
impl Send for Validity
impl Sync for Validity
impl Unpin for Validity
impl UnsafeUnpin for Validity
impl UnwindSafe for Validity
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