pub struct Jwt<T>where
T: Debug,{ /* private fields */ }Expand description
JWT Middleware
Implementations§
Source§impl<T> Jwt<T>
impl<T> Jwt<T>
Sourcepub fn validation(self, validation: Validation) -> Self
pub fn validation(self, validation: Validation) -> Self
Creates JWT Middleware with an validation
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Jwt<T>
impl<T> RefUnwindSafe for Jwt<T>where
T: RefUnwindSafe,
impl<T> Send for Jwt<T>where
T: Send,
impl<T> Sync for Jwt<T>where
T: Sync,
impl<T> Unpin for Jwt<T>where
T: Unpin,
impl<T> UnwindSafe for Jwt<T>where
T: UnwindSafe,
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