pub struct Query<T = ()>(pub T);Available on crate feature
query only.Expand description
Extracts the data from the query string of a URL.
Tuple Fields§
§0: TImplementations§
Trait Implementations§
source§impl<T> FromRequest for Query<T>where
T: DeserializeOwned,
impl<T> FromRequest for Query<T>where
T: DeserializeOwned,
§type Error = PayloadError
type Error = PayloadError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<T> RefUnwindSafe for Query<T>where
T: RefUnwindSafe,
impl<T> Send for Query<T>where
T: Send,
impl<T> Sync for Query<T>where
T: Sync,
impl<T> Unpin for Query<T>where
T: Unpin,
impl<T> UnwindSafe for Query<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> AsUncased for T
impl<T> AsUncased for T
§fn as_uncased(&self) -> &UncasedStr
fn as_uncased(&self) -> &UncasedStr
Convert
self to an [UncasedStr].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