pub struct JwtOptions {
pub user_id: String,
pub scope: Option<String>,
pub expires_in: i64,
}Fields§
§user_id: String§scope: Option<String>§expires_in: i64Trait Implementations§
Source§impl Debug for JwtOptions
impl Debug for JwtOptions
Source§impl Default for JwtOptions
impl Default for JwtOptions
Source§fn default() -> JwtOptions
fn default() -> JwtOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JwtOptions
impl RefUnwindSafe for JwtOptions
impl Send for JwtOptions
impl Sync for JwtOptions
impl Unpin for JwtOptions
impl UnwindSafe for JwtOptions
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