Struct jwt::claims::Claims [] [src]

pub struct Claims {
    pub reg: Registered,
    pub private: BTreeMap<String, Json>,
}

Fields

Methods

impl Claims
[src]

JWT Claims. Registered claims are directly accessible via the Registered struct embedded, while private fields are a map that contains Json values.

Trait Implementations

impl Debug for Claims
[src]

Formats the value using the given formatter.

impl Default for Claims
[src]

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

impl PartialEq for Claims
[src]

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

This method tests for !=.

impl Component for Claims
[src]