pub struct SchemaValidationError {
pub schema: &'static str,
pub details: Vec<SchemaErrorDetail>,
}Expand description
Error returned when validating instances against embedded schemas.
Fields§
§schema: &'static str§details: Vec<SchemaErrorDetail>Trait Implementations§
Source§impl Debug for SchemaValidationError
impl Debug for SchemaValidationError
Source§impl Display for SchemaValidationError
impl Display for SchemaValidationError
Source§impl Error for SchemaValidationError
impl Error for SchemaValidationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SchemaValidationError
impl RefUnwindSafe for SchemaValidationError
impl Send for SchemaValidationError
impl Sync for SchemaValidationError
impl Unpin for SchemaValidationError
impl UnwindSafe for SchemaValidationError
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