pub struct ValidatedBody<T>(pub T);Tuple Fields§
§0: TImplementations§
Source§impl<T> ValidatedBody<T>
impl<T> ValidatedBody<T>
pub fn into_inner(self) -> T
pub fn value(self) -> T
Trait Implementations§
Source§impl<T> Deref for ValidatedBody<T>
impl<T> Deref for ValidatedBody<T>
Source§impl<S, T> FromRequest<S> for ValidatedBody<T>
impl<S, T> FromRequest<S> for ValidatedBody<T>
Auto Trait Implementations§
impl<T> Freeze for ValidatedBody<T>where
T: Freeze,
impl<T> RefUnwindSafe for ValidatedBody<T>where
T: RefUnwindSafe,
impl<T> Send for ValidatedBody<T>where
T: Send,
impl<T> Sync for ValidatedBody<T>where
T: Sync,
impl<T> Unpin for ValidatedBody<T>where
T: Unpin,
impl<T> UnsafeUnpin for ValidatedBody<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ValidatedBody<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