pub struct SchemaErrorDetail {
pub instance_path: String,
pub schema_path: String,
pub message: String,
}Expand description
Details about a generic schema validation failure.
Fields§
§instance_path: String§schema_path: String§message: StringTrait Implementations§
Source§impl Clone for SchemaErrorDetail
impl Clone for SchemaErrorDetail
Source§fn clone(&self) -> SchemaErrorDetail
fn clone(&self) -> SchemaErrorDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchemaErrorDetail
impl Debug for SchemaErrorDetail
Source§impl Display for SchemaErrorDetail
impl Display for SchemaErrorDetail
Source§impl Error for SchemaErrorDetail
impl Error for SchemaErrorDetail
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 SchemaErrorDetail
impl RefUnwindSafe for SchemaErrorDetail
impl Send for SchemaErrorDetail
impl Sync for SchemaErrorDetail
impl Unpin for SchemaErrorDetail
impl UnsafeUnpin for SchemaErrorDetail
impl UnwindSafe for SchemaErrorDetail
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