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