pub struct JwtValidationOptions {
pub enabled: bool,
pub strict: bool,
pub leeway_seconds: i64,
}Fields§
§enabled: bool§strict: bool§leeway_seconds: i64Trait Implementations§
Source§impl Clone for JwtValidationOptions
impl Clone for JwtValidationOptions
Source§fn clone(&self) -> JwtValidationOptions
fn clone(&self) -> JwtValidationOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JwtValidationOptions
impl Debug for JwtValidationOptions
Source§impl Default for JwtValidationOptions
impl Default for JwtValidationOptions
Source§impl PartialEq for JwtValidationOptions
impl PartialEq for JwtValidationOptions
impl Copy for JwtValidationOptions
impl Eq for JwtValidationOptions
impl StructuralPartialEq for JwtValidationOptions
Auto Trait Implementations§
impl Freeze for JwtValidationOptions
impl RefUnwindSafe for JwtValidationOptions
impl Send for JwtValidationOptions
impl Sync for JwtValidationOptions
impl Unpin for JwtValidationOptions
impl UnsafeUnpin for JwtValidationOptions
impl UnwindSafe for JwtValidationOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.