pub struct ApiJson<T>(pub T);Expand description
Tuple Fields§
§0: TThe successfully deserialized request body.
Trait Implementations§
impl<T: Copy> Copy for ApiJson<T>
Source§impl<T, S> FromRequest<S> for ApiJson<T>
impl<T, S> FromRequest<S> for ApiJson<T>
Auto Trait Implementations§
impl<T> Freeze for ApiJson<T>where
T: Freeze,
impl<T> RefUnwindSafe for ApiJson<T>where
T: RefUnwindSafe,
impl<T> Send for ApiJson<T>where
T: Send,
impl<T> Sync for ApiJson<T>where
T: Sync,
impl<T> Unpin for ApiJson<T>where
T: Unpin,
impl<T> UnsafeUnpin for ApiJson<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ApiJson<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