pub struct HasExpiry;Trait Implementations§
Source§impl Validate for HasExpiry
impl Validate for HasExpiry
Source§type Claims = RegisteredClaims
type Claims = RegisteredClaims
The type of claim that can be validated
Source§fn validate(&self, claims: &Self::Claims) -> Result<(), PasetoError>
fn validate(&self, claims: &Self::Claims) -> Result<(), PasetoError>
The validation to perform on the claims
Auto Trait Implementations§
impl Freeze for HasExpiry
impl RefUnwindSafe for HasExpiry
impl Send for HasExpiry
impl Sync for HasExpiry
impl Unpin for HasExpiry
impl UnwindSafe for HasExpiry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more