pub enum ExpiryType {
Absolute(Absolute),
Relative(Relative),
}Expand description
Type corresponding to possible
Variants§
Trait Implementations§
Source§impl Debug for ExpiryType
impl Debug for ExpiryType
Source§impl<'de> Deserialize<'de> for ExpiryType
impl<'de> Deserialize<'de> for ExpiryType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExpiryType
impl PartialEq for ExpiryType
impl Eq for ExpiryType
impl StructuralPartialEq for ExpiryType
Auto Trait Implementations§
impl Freeze for ExpiryType
impl RefUnwindSafe for ExpiryType
impl Send for ExpiryType
impl Sync for ExpiryType
impl Unpin for ExpiryType
impl UnwindSafe for ExpiryType
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