Struct salvo_extra::jwt_auth::TokenData [−][src]
pub struct TokenData<T> {
pub header: Header,
pub claims: T,
}
Expand description
The return type of a successful call to decode.
Fields
header: Header
The decoded JWT header
claims: T
The decoded JWT claims
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for TokenData<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for TokenData<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more