Struct jsonwebtoken::TokenData[][src]

pub struct TokenData<T> {
    pub header: Header,
    pub claims: T,
}

The return type of a successful call to decode

Fields

The decoded JWT header

The decoded JWT claims

Trait Implementations

impl<T: Debug> Debug for TokenData<T>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for TokenData<T> where
    T: Send

impl<T> Sync for TokenData<T> where
    T: Sync