pub struct ReqParam<T>(pub T);Tuple Fields§
§0: TTrait Implementations§
Source§impl<'a, T: DeserializeOwned> FromRequest<'a> for ReqParam<T>
impl<'a, T: DeserializeOwned> FromRequest<'a> for ReqParam<T>
fn from_request( req: &'a Request, _body: &mut Body, ) -> Result<Self, ChannelError>
fn from_request_without_body(req: &'a Request) -> Result<Self, ChannelError>
impl<T: Eq> Eq for ReqParam<T>
impl<T> StructuralPartialEq for ReqParam<T>
Auto Trait Implementations§
impl<T> Freeze for ReqParam<T>where
T: Freeze,
impl<T> RefUnwindSafe for ReqParam<T>where
T: RefUnwindSafe,
impl<T> Send for ReqParam<T>where
T: Send,
impl<T> Sync for ReqParam<T>where
T: Sync,
impl<T> Unpin for ReqParam<T>where
T: Unpin,
impl<T> UnwindSafe for ReqParam<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