Struct jwt::header::Header [] [src]

pub struct Header {
    pub typ: Option<HeaderType>,
    pub kid: Option<String>,
    pub alg: Algorithm,
}

Fields

Trait Implementations

impl Debug for Header
[src]

Formats the value using the given formatter.

impl PartialEq for Header
[src]

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

This method tests for !=.

impl Decodable for Header
[src]

Deserialize a value using a Decoder.

impl Encodable for Header
[src]

Serialize a value using an Encoder.

impl Default for Header
[src]

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