pub struct TokenValidation {
pub user: User,
pub expires_at: DateTime<Utc>,
}Expand description
Token validation result
Fields§
§user: User§expires_at: DateTime<Utc>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TokenValidation
impl RefUnwindSafe for TokenValidation
impl Send for TokenValidation
impl Sync for TokenValidation
impl Unpin for TokenValidation
impl UnwindSafe for TokenValidation
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