Struct x509_certificate::rfc5280::Validity
source · pub struct Validity {
pub not_before: Time,
pub not_after: Time,
}
Fields§
§not_before: Time
§not_after: Time
Implementations§
source§impl Validity
impl Validity
pub fn take_from<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Self, DecodeError<S::Error>>
pub fn encode_ref(&self) -> impl Values + '_
Trait Implementations§
source§impl PartialEq for Validity
impl PartialEq for Validity
impl Eq for Validity
impl StructuralEq for Validity
impl StructuralPartialEq for Validity
Auto Trait Implementations§
impl RefUnwindSafe for Validity
impl Send for Validity
impl Sync for Validity
impl Unpin 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