Enum libjwt::verification::Verifications
[−]
[src]
pub enum Verifications { SameClaim(RegisteredClaims), Expired, }
Some verifications
Variants
SameClaim(RegisteredClaims)
Verify if you've the value expected
Expired
Check if token is expired
Trait Implementations
impl Debug for Verifications
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Verifications
[src]
fn clone(&self) -> Verifications
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Verifications
[src]
fn eq(&self, __arg_0: &Verifications) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Verifications) -> bool
[src]
This method tests for !=
.