Struct libjwt::Jwt [] [src]

pub struct Jwt<'jwt>(_);

A Simple Jwt

Methods

impl<'jwt> Jwt<'jwt>
[src]

[src]

Create a Jwt from any type who can be turned into a Cow<'jwt, str>

[src]

Encode header and payload into a valid JWT

[src]

Decode a Jwt token and check if signature is valid

Trait Implementations

impl<'jwt> Debug for Jwt<'jwt>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'jwt> Clone for Jwt<'jwt>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'jwt> IntoParts<'jwt> for Jwt<'jwt>
[src]

Error type from a convertion

[src]

Convert it!

impl<'h, 'p, 's, 'jwt> Into<Jwt<'jwt>> for Parts<'h, 'p, 's>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<'jwt> Send for Jwt<'jwt>

impl<'jwt> Sync for Jwt<'jwt>