Struct http_problem::http::UnprocessableEntity
source · [−]pub struct UnprocessableEntity { /* private fields */ }
Expand description
A 422 - Unprocessable Entity
error.
Used when the received client information doesn’t follow the expected interface and requirements.
Trait Implementations
sourceimpl CustomProblem for UnprocessableEntity
impl CustomProblem for UnprocessableEntity
sourcefn problem_type(&self) -> Uri
fn problem_type(&self) -> Uri
A URI reference that identifies the problem type. Read more
sourcefn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
The HTTP status code for this problem type. Read more
sourcefn add_extensions(&self, _: &mut Extensions)
fn add_extensions(&self, _: &mut Extensions)
Add extensions to the final problem instance. Read more
sourceimpl Debug for UnprocessableEntity
impl Debug for UnprocessableEntity
sourceimpl Display for UnprocessableEntity
impl Display for UnprocessableEntity
sourceimpl Error for UnprocessableEntity
impl Error for UnprocessableEntity
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for UnprocessableEntity
impl Send for UnprocessableEntity
impl Sync for UnprocessableEntity
impl Unpin for UnprocessableEntity
impl UnwindSafe for UnprocessableEntity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more