pub struct SignedSession(pub Session);Expand description
Carries the verified auth::Session into the route handler via
Extension<SignedSession>.
Tuple Fields§
§0: SessionTrait Implementations§
Source§impl Clone for SignedSession
impl Clone for SignedSession
Source§fn clone(&self) -> SignedSession
fn clone(&self) -> SignedSession
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 moreAuto Trait Implementations§
impl Freeze for SignedSession
impl RefUnwindSafe for SignedSession
impl Send for SignedSession
impl Sync for SignedSession
impl Unpin for SignedSession
impl UnsafeUnpin for SignedSession
impl UnwindSafe for SignedSession
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