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

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 Encodable for Registered
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Decodable for Registered
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Registered, __D::Error>

impl PartialEq for Registered
[src]

fn eq(&self, __arg_0: &Registered) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Registered) -> bool

This method tests for !=.

impl Default for Registered
[src]

fn default() -> Registered

Returns the "default value" for a type. Read more

impl Debug for Registered
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.