pub enum ExpiresIn {
Duration(String),
Seconds(u64),
}Expand description
Expiration time for generate_token
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExpiresIn
impl RefUnwindSafe for ExpiresIn
impl Send for ExpiresIn
impl Sync for ExpiresIn
impl Unpin for ExpiresIn
impl UnsafeUnpin for ExpiresIn
impl UnwindSafe for ExpiresIn
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