pub struct Validity {
pub not_before: u64,
pub not_after: u64,
}Expand description
Validity-Periode: not_before <= now < not_after. Werte sind
ISO-8601-Strings aus dem XML; der Parser konvertiert sie zu
Unix-Epoch-Seconds (u64). Spec §9.4.1.3.2.2.
future-major: Enforcement erfolgt zur Access-Check-Zeit via
Grant::is_valid_at. Das Plugin selbst pruefen now gegen jeden
check_create_*-Call — Uhren-Drift-Toleranz liegt im Caller.
Fields§
§not_before: u64Inklusive Unter-Grenze (Unix-Epoch-Seconds). 0 = keine.
not_after: u64Exklusive Ober-Grenze (Unix-Epoch-Seconds). u64::MAX = keine.
Implementations§
Trait Implementations§
impl Copy for Validity
impl Eq for Validity
impl StructuralPartialEq for Validity
Auto Trait Implementations§
impl Freeze 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