pub struct BadRequestField {
pub code: String,
pub message: String,
}Expand description
Represents one of the fields that caused the Bad Request error.
Fields§
§code: StringError code (example: validation_required).
message: StringA text explaining in a readable way what this error is.
Trait Implementations§
Source§impl Debug for BadRequestField
impl Debug for BadRequestField
Source§impl<'de> Deserialize<'de> for BadRequestField
impl<'de> Deserialize<'de> for BadRequestField
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BadRequestField
impl RefUnwindSafe for BadRequestField
impl Send for BadRequestField
impl Sync for BadRequestField
impl Unpin for BadRequestField
impl UnwindSafe for BadRequestField
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