pub struct UnprocessableEntity<T = ()>(pub T);Expand description
422 Unprocessable Entity
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: Clone> Clone for UnprocessableEntity<T>
impl<T: Clone> Clone for UnprocessableEntity<T>
Source§fn clone(&self) -> UnprocessableEntity<T>
fn clone(&self) -> UnprocessableEntity<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<T: Copy> Copy for UnprocessableEntity<T>
Source§impl<T: Debug> Debug for UnprocessableEntity<T>
impl<T: Debug> Debug for UnprocessableEntity<T>
Source§impl<T, R, S> From<UnprocessableEntity<R>> for ErrorSet<S, T>
impl<T, R, S> From<UnprocessableEntity<R>> for ErrorSet<S, T>
Source§fn from(err: UnprocessableEntity<R>) -> Self
fn from(err: UnprocessableEntity<R>) -> Self
Converts to this type from the input type.
Source§impl<T> StatusWrapper for UnprocessableEntity<T>
impl<T> StatusWrapper for UnprocessableEntity<T>
Source§const STATUS_CODE: StatusCode = StatusCode::UNPROCESSABLE_ENTITY
const STATUS_CODE: StatusCode = StatusCode::UNPROCESSABLE_ENTITY
The status code associated with type.
Source§type Pure = UnprocessableEntity
type Pure = UnprocessableEntity
The pure type of this status wrapper, without any inner value.
Source§fn into_inner(self) -> Self::Inner
fn into_inner(self) -> Self::Inner
Convert this status wrapper into its inner value.
Auto Trait Implementations§
impl<T> Freeze for UnprocessableEntity<T>where
T: Freeze,
impl<T> RefUnwindSafe for UnprocessableEntity<T>where
T: RefUnwindSafe,
impl<T> Send for UnprocessableEntity<T>where
T: Send,
impl<T> Sync for UnprocessableEntity<T>where
T: Sync,
impl<T> Unpin for UnprocessableEntity<T>where
T: Unpin,
impl<T> UnsafeUnpin for UnprocessableEntity<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for UnprocessableEntity<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