pub struct Query<T>(pub T);Tuple Fields§
§0: TTrait Implementations§
source§impl<T, S> FromContext<S> for Query<T>
impl<T, S> FromContext<S> for Query<T>
type Rejection = RejectionError
async fn from_context( context: &HttpContext, _state: &S ) -> Result<Self, Self::Rejection>
impl<T: Copy> Copy for Query<T>
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§
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