pub enum ValidityLength {
Minutes(u8),
Hours(u8),
TwentyFourHourPeriods(u8),
Days(u8),
}
Variants§
Trait Implementations§
Source§impl Debug for ValidityLength
impl Debug for ValidityLength
Source§impl From<&ValidityLength> for u8
impl From<&ValidityLength> for u8
Source§fn from(value: &ValidityLength) -> Self
fn from(value: &ValidityLength) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ValidityLength
impl RefUnwindSafe for ValidityLength
impl Send for ValidityLength
impl Sync for ValidityLength
impl Unpin for ValidityLength
impl UnwindSafe for ValidityLength
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