pub struct SecurityContext<E> { /* private fields */ }Expand description
Wraps validated JWT Claims for use in request handlers/extractors.
Implementations§
Source§impl<E> SecurityContext<E>
impl<E> SecurityContext<E>
Trait Implementations§
Source§impl<E: Clone> Clone for SecurityContext<E>
impl<E: Clone> Clone for SecurityContext<E>
Source§fn clone(&self) -> SecurityContext<E>
fn clone(&self) -> SecurityContext<E>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<E> Freeze for SecurityContext<E>where
E: Freeze,
impl<E> RefUnwindSafe for SecurityContext<E>where
E: RefUnwindSafe,
impl<E> Send for SecurityContext<E>where
E: Send,
impl<E> Sync for SecurityContext<E>where
E: Sync,
impl<E> Unpin for SecurityContext<E>where
E: Unpin,
impl<E> UnsafeUnpin for SecurityContext<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for SecurityContext<E>where
E: 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