pub struct ValidationErrorResponse {
pub status_code: u16,
pub body: Value,
pub format: ErrorFormat,
}Expand description
Validation error response
Fields§
§status_code: u16HTTP status code
body: ValueError response body
format: ErrorFormatError format (field-level, object-level, custom)
Trait Implementations§
Source§impl Clone for ValidationErrorResponse
impl Clone for ValidationErrorResponse
Source§fn clone(&self) -> ValidationErrorResponse
fn clone(&self) -> ValidationErrorResponse
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 moreSource§impl Debug for ValidationErrorResponse
impl Debug for ValidationErrorResponse
Source§impl<'de> Deserialize<'de> for ValidationErrorResponse
impl<'de> Deserialize<'de> for ValidationErrorResponse
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 ValidationErrorResponse
impl RefUnwindSafe for ValidationErrorResponse
impl Send for ValidationErrorResponse
impl Sync for ValidationErrorResponse
impl Unpin for ValidationErrorResponse
impl UnsafeUnpin for ValidationErrorResponse
impl UnwindSafe for ValidationErrorResponse
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