Struct jwt::Token[][src]

pub struct Token<H, C, S> { /* fields omitted */ }
Expand description

Representation of a structured JWT. Methods vary based on the signature type S.

Implementations

Create a new unsigned token, with mutable headers and claims.

Get the string representation of the token.

Not recommended. Parse the header and claims without checking the validity of the signature.

Trait Implementations

Returns the “default value” for a type. Read more

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.