pub struct QueryExt<'a, T>(pub T, _)
where
T: Deserialize<'a>;Expand description
Deserialize struct wrapper.
Tuple Fields§
§0: TTrait Implementations§
Source§impl<'a, T> FromRequest<'a> for QueryExt<'a, T>where
T: Deserialize<'a>,
impl<'a, T> FromRequest<'a> for QueryExt<'a, T>where
T: Deserialize<'a>,
Source§async fn from_request(req: &'a Request, _: &mut RequestBody) -> Result<Self>
async fn from_request(req: &'a Request, _: &mut RequestBody) -> Result<Self>
Extract from request head and body.
Auto Trait Implementations§
impl<'a, T> Freeze for QueryExt<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for QueryExt<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for QueryExt<'a, T>
impl<'a, T> Sync for QueryExt<'a, T>where
T: Sync,
impl<'a, T> Unpin for QueryExt<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for QueryExt<'a, T>where
T: UnwindSafe + RefUnwindSafe,
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