Struct salvo_extra::jwt_auth::TokenData [−][src]
pub struct TokenData<T> { pub header: Header, pub claims: T, }
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> RefUnwindSafe for TokenData<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for TokenData<T> where
T: UnwindSafe,
impl<T> UnwindSafe for TokenData<T> where
T: UnwindSafe,
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,