Struct asap_deps_jsonwebtoken::TokenData[][src]

pub struct TokenData<T> {
    pub header: Header,
    pub claims: T,
    pub claims_map: Map<String, Value>,
}

The return type of a successful call to decode

Fields

The decoded JWT header

The decoded JWT claims

The decoded JWT claims as Map<String, Value>

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