pub enum NotBeforeOffset {
DaysAgo(u32),
DaysFromNow(u32),
}Expand description
Offset for the not_before field.
Variants§
DaysAgo(u32)
Certificate is valid starting from this many days in the past.
DaysFromNow(u32)
Certificate is valid starting from this many days in the future.
Trait Implementations§
Source§impl Clone for NotBeforeOffset
impl Clone for NotBeforeOffset
Source§fn clone(&self) -> NotBeforeOffset
fn clone(&self) -> NotBeforeOffset
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 NotBeforeOffset
impl Debug for NotBeforeOffset
Source§impl Default for NotBeforeOffset
impl Default for NotBeforeOffset
Source§fn default() -> NotBeforeOffset
fn default() -> NotBeforeOffset
Returns the “default value” for a type. Read more
Source§impl Hash for NotBeforeOffset
impl Hash for NotBeforeOffset
Source§impl PartialEq for NotBeforeOffset
impl PartialEq for NotBeforeOffset
impl Copy for NotBeforeOffset
impl Eq for NotBeforeOffset
impl StructuralPartialEq for NotBeforeOffset
Auto Trait Implementations§
impl Freeze for NotBeforeOffset
impl RefUnwindSafe for NotBeforeOffset
impl Send for NotBeforeOffset
impl Sync for NotBeforeOffset
impl Unpin for NotBeforeOffset
impl UnsafeUnpin for NotBeforeOffset
impl UnwindSafe for NotBeforeOffset
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