pub struct FieldErrorSchema {
pub field: String,
pub code: String,
pub message: String,
}Expand description
Field-level validation error
Fields§
§field: StringField name (supports nested paths like “address.city”)
code: StringError code (e.g., “email”, “length”, “required”)
message: StringHuman-readable error message
Trait Implementations§
Source§impl Clone for FieldErrorSchema
impl Clone for FieldErrorSchema
Source§fn clone(&self) -> FieldErrorSchema
fn clone(&self) -> FieldErrorSchema
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 FieldErrorSchema
impl Debug for FieldErrorSchema
Source§impl<'de> Deserialize<'de> for FieldErrorSchema
impl<'de> Deserialize<'de> for FieldErrorSchema
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 FieldErrorSchema
impl Serialize for FieldErrorSchema
Auto Trait Implementations§
impl Freeze for FieldErrorSchema
impl RefUnwindSafe for FieldErrorSchema
impl Send for FieldErrorSchema
impl Sync for FieldErrorSchema
impl Unpin for FieldErrorSchema
impl UnwindSafe for FieldErrorSchema
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