pub struct ValidationErrorDetail {
pub error_type: String,
pub loc: Vec<String>,
pub msg: String,
pub input: Value,
pub ctx: Option<Value>,
}Expand description
Individual validation error detail (FastAPI-compatible format)
Fields§
§error_type: String§loc: Vec<String>§msg: String§input: Value§ctx: Option<Value>Trait Implementations§
Source§impl Clone for ValidationErrorDetail
impl Clone for ValidationErrorDetail
Source§fn clone(&self) -> ValidationErrorDetail
fn clone(&self) -> ValidationErrorDetail
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 ValidationErrorDetail
impl Debug for ValidationErrorDetail
Auto Trait Implementations§
impl Freeze for ValidationErrorDetail
impl RefUnwindSafe for ValidationErrorDetail
impl Send for ValidationErrorDetail
impl Sync for ValidationErrorDetail
impl Unpin for ValidationErrorDetail
impl UnwindSafe for ValidationErrorDetail
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