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