pub struct Query<T = QueryMap>(pub T);Expand description
Parsed query string: Query(q): Query (a map) or Query<T> (typed).
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T> FromContext for Query<T>where
T: DeserializeOwned,
impl<T> FromContext for Query<T>where
T: DeserializeOwned,
fn from_context(ctx: &Arc<RequestContext>) -> Result<Query<T>, Error>
Auto Trait Implementations§
impl<T> Forget for Query<T>
impl<T> Freeze for Query<T>where
T: Freeze,
impl<T> Move for Query<T>
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> UnsafeUnpin for Query<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Query<T>where
T: 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