Struct libjwt::Payload [] [src]

pub struct Payload<'p>(_);

Jwt's payload

Methods

impl<'p> Payload<'p>
[src]

[src]

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

[src]

Convert a base64 transformable into a payload.

[src]

Apply claims on payload

[src]

Verify if a payload is valid

Trait Implementations

impl<'p> Debug for Payload<'p>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'p> Clone for Payload<'p>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'p> FromBase64 for Payload<'p>
[src]

[src]

Convert it!

impl<'p> Display for Payload<'p>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'p> Send for Payload<'p>

impl<'p> Sync for Payload<'p>