Struct jsonschema::error::ValidationError [−][src]
pub struct ValidationError<'a> {
pub instance: Cow<'a, Value>,
pub kind: ValidationErrorKind,
pub instance_path: JSONPointer,
pub schema_path: JSONPointer,
}Expand description
An error that can occur during validation.
Fields
instance: Cow<'a, Value>Value of the property that failed validation.
kind: ValidationErrorKindType of validation error.
instance_path: JSONPointerPath to the value that failed validation.
schema_path: JSONPointerPath to the JSON Schema keyword that failed validation.
Trait Implementations
Textual representation of various validation errors.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ValidationError<'a>impl<'a> Send for ValidationError<'a>impl<'a> Sync for ValidationError<'a>impl<'a> Unpin for ValidationError<'a>impl<'a> !UnwindSafe for ValidationError<'a>