pub struct ErrorBodySchema {
pub error_type: String,
pub message: String,
pub fields: Option<Vec<FieldErrorSchema>>,
}Expand description
Error body details
Fields§
§error_type: StringError type identifier (e.g., “validation_error”, “not_found”)
message: StringHuman-readable error message
fields: Option<Vec<FieldErrorSchema>>Field-level errors (for validation errors)
Trait Implementations§
Source§impl Clone for ErrorBodySchema
impl Clone for ErrorBodySchema
Source§fn clone(&self) -> ErrorBodySchema
fn clone(&self) -> ErrorBodySchema
Returns a duplicate of the value. Read more
1.0.0 · 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 ErrorBodySchema
impl Debug for ErrorBodySchema
Source§impl<'de> Deserialize<'de> for ErrorBodySchema
impl<'de> Deserialize<'de> for ErrorBodySchema
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
Source§impl Serialize for ErrorBodySchema
impl Serialize for ErrorBodySchema
Auto Trait Implementations§
impl Freeze for ErrorBodySchema
impl RefUnwindSafe for ErrorBodySchema
impl Send for ErrorBodySchema
impl Sync for ErrorBodySchema
impl Unpin for ErrorBodySchema
impl UnwindSafe for ErrorBodySchema
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