pub struct TimeWithLeeway { /* private fields */ }Trait Implementations§
Source§impl Validate for TimeWithLeeway
impl Validate for TimeWithLeeway
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 TimeWithLeeway
impl RefUnwindSafe for TimeWithLeeway
impl Send for TimeWithLeeway
impl Sync for TimeWithLeeway
impl Unpin for TimeWithLeeway
impl UnwindSafe for TimeWithLeeway
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