pub struct ApiJsonRejection(/* private fields */);Expand description
A body ApiJson refused, answered by its status alone.
Trait Implementations§
Source§impl From<JsonRejection> for ApiJsonRejection
impl From<JsonRejection> for ApiJsonRejection
Source§fn from(rejection: JsonRejection) -> Self
fn from(rejection: JsonRejection) -> Self
Converts to this type from the input type.
Source§impl IntoResponse for ApiJsonRejection
impl IntoResponse for ApiJsonRejection
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for ApiJsonRejection
impl RefUnwindSafe for ApiJsonRejection
impl Send for ApiJsonRejection
impl Sync for ApiJsonRejection
impl Unpin for ApiJsonRejection
impl UnsafeUnpin for ApiJsonRejection
impl UnwindSafe for ApiJsonRejection
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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