pub struct GenerateTokenOptions {
pub expires_in: Option<ExpiresIn>,
}Expand description
Options for generate_token
Fields§
§expires_in: Option<ExpiresIn>Implementations§
Trait Implementations§
Source§impl Clone for GenerateTokenOptions
impl Clone for GenerateTokenOptions
Source§fn clone(&self) -> GenerateTokenOptions
fn clone(&self) -> GenerateTokenOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GenerateTokenOptions
impl Debug for GenerateTokenOptions
Source§impl Default for GenerateTokenOptions
impl Default for GenerateTokenOptions
Source§fn default() -> GenerateTokenOptions
fn default() -> GenerateTokenOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GenerateTokenOptions
impl RefUnwindSafe for GenerateTokenOptions
impl Send for GenerateTokenOptions
impl Sync for GenerateTokenOptions
impl Unpin for GenerateTokenOptions
impl UnsafeUnpin for GenerateTokenOptions
impl UnwindSafe for GenerateTokenOptions
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