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