pub struct JwtTokenString(pub String);Expand description
Raw JWT token string stored in HttpRequest extensions.
Retrieve it in a handler via get_token.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for JwtTokenString
impl Clone for JwtTokenString
Source§fn clone(&self) -> JwtTokenString
fn clone(&self) -> JwtTokenString
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 JwtTokenString
impl RefUnwindSafe for JwtTokenString
impl Send for JwtTokenString
impl Sync for JwtTokenString
impl Unpin for JwtTokenString
impl UnsafeUnpin for JwtTokenString
impl UnwindSafe for JwtTokenString
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