pub struct QuerySource(pub &'static str);Expand description
Extracts a token from a named query parameter (e.g., ?token=xxx).
The inner &'static str is the parameter name to look up.
Tuple Fields§
§0: &'static strTrait Implementations§
Source§impl TokenSource for QuerySource
impl TokenSource for QuerySource
Auto Trait Implementations§
impl Freeze for QuerySource
impl RefUnwindSafe for QuerySource
impl Send for QuerySource
impl Sync for QuerySource
impl Unpin for QuerySource
impl UnsafeUnpin for QuerySource
impl UnwindSafe for QuerySource
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