[][src]Struct jwt::claims::Registered

pub struct Registered {
    pub iss: Option<String>,
    pub sub: Option<String>,
    pub aud: Option<String>,
    pub exp: Option<u64>,
    pub nbf: Option<u64>,
    pub iat: Option<u64>,
    pub jti: Option<String>,
}

Fields

iss: Option<String>sub: Option<String>aud: Option<String>exp: Option<u64>nbf: Option<u64>iat: Option<u64>jti: Option<String>

Trait Implementations

impl Debug for Registered[src]

impl Default for Registered[src]

impl<'de> Deserialize<'de> for Registered[src]

impl PartialEq<Registered> for Registered[src]

impl Serialize for Registered[src]

impl StructuralPartialEq for Registered[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Component for T where
    T: Serialize + DeserializeOwned
[src]

fn from_base64(&str) -> Result<T, Error>[src]

Parse from a string.

fn to_base64(&Self) -> Result<String, Error>[src]

Encode to a string.

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.