pub struct SchemaValidationError { /* private fields */ }Expand description
Normalized bounded schema validation error.
Implementations§
Source§impl SchemaValidationError
impl SchemaValidationError
Sourcepub fn instance_path(&self) -> &str
pub fn instance_path(&self) -> &str
Returns the JSON Pointer into the rejected instance.
Sourcepub fn schema_path(&self) -> &str
pub fn schema_path(&self) -> &str
Returns the JSON Pointer into the schema.
Trait Implementations§
Source§impl Clone for SchemaValidationError
impl Clone for SchemaValidationError
Source§fn clone(&self) -> SchemaValidationError
fn clone(&self) -> SchemaValidationError
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 SchemaValidationError
impl Debug for SchemaValidationError
impl Eq for SchemaValidationError
Source§impl PartialEq for SchemaValidationError
impl PartialEq for SchemaValidationError
impl StructuralPartialEq for SchemaValidationError
Auto Trait Implementations§
impl Freeze for SchemaValidationError
impl RefUnwindSafe for SchemaValidationError
impl Send for SchemaValidationError
impl Sync for SchemaValidationError
impl Unpin for SchemaValidationError
impl UnsafeUnpin 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