Enum libjwt::verification::Verifications [] [src]

pub enum Verifications {
    SameClaim(RegisteredClaims),
    Expired,
}

Some verifications

Variants

Verify if you've the value expected

Check if token is expired

Trait Implementations

impl Debug for Verifications
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Verifications
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Verifications
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Verifications

impl Sync for Verifications