Struct jwt_compact::Token
source · pub struct Token<T, H = Empty> { /* private fields */ }
Expand description
Token with validated integrity.
Claims encoded in the token can be verified by invoking Claims
methods
via Self::claims()
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, H> RefUnwindSafe for Token<T, H>where
H: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, H> Send for Token<T, H>
impl<T, H> Sync for Token<T, H>
impl<T, H> Unpin for Token<T, H>
impl<T, H> UnwindSafe for Token<T, H>where
H: UnwindSafe,
T: UnwindSafe,
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