pub enum RetentionPeriod {
Years(u32),
BeyondAnyInterval,
}Expand description
How long the issuer says it keeps what is needed to check a certificate.
The statement is a bare INTEGER of years (ETSI TS 101 862, annex B), so
a period wider than the counter is inside the schema. It is kept as what
it is, longer than any interval a question will be asked over, rather
than refused as malformed or folded into a number nobody wrote.
Variants§
Years(u32)
The number of years the statement names.
BeyondAnyInterval
A period past any interval a report covers.
Implementations§
Trait Implementations§
Source§impl Clone for RetentionPeriod
impl Clone for RetentionPeriod
impl Copy for RetentionPeriod
Source§impl Debug for RetentionPeriod
impl Debug for RetentionPeriod
impl Eq for RetentionPeriod
Source§impl PartialEq for RetentionPeriod
impl PartialEq for RetentionPeriod
impl StructuralPartialEq for RetentionPeriod
Auto Trait Implementations§
impl Freeze for RetentionPeriod
impl RefUnwindSafe for RetentionPeriod
impl Send for RetentionPeriod
impl Sync for RetentionPeriod
impl Unpin for RetentionPeriod
impl UnsafeUnpin for RetentionPeriod
impl UnwindSafe for RetentionPeriod
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