Struct jsonschema::error::ValidationError [−][src]
pub struct ValidationError<'a> { pub instance: Cow<'a, Value>, pub kind: ValidationErrorKind, pub instance_path: JSONPointer, }
An error that can occur during validation.
Fields
instance: Cow<'a, Value>
Value of the property that failed validation
kind: ValidationErrorKind
Type of validation error
instance_path: JSONPointer
Path of the property that failed validation
Trait Implementations
impl Display for ValidationError<'_>
[src]
impl Display for ValidationError<'_>
[src]Textual representation of various validation errors.
impl Error for ValidationError<'_>
[src]
impl Error for ValidationError<'_>
[src]impl From<CompilationError> for ValidationError<'_>
[src]
impl From<CompilationError> for ValidationError<'_>
[src]fn from(_: CompilationError) -> Self
[src]
impl From<FromUtf8Error> for ValidationError<'_>
[src]
impl From<FromUtf8Error> for ValidationError<'_>
[src]fn from(err: FromUtf8Error) -> Self
[src]
impl From<ParseError> for ValidationError<'_>
[src]
impl From<ParseError> for ValidationError<'_>
[src]fn from(err: ParseError) -> Self
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ValidationError<'a>
impl<'a> !RefUnwindSafe for ValidationError<'a>
impl<'a> Send for ValidationError<'a>
impl<'a> Send for ValidationError<'a>
impl<'a> Sync for ValidationError<'a>
impl<'a> Sync for ValidationError<'a>
impl<'a> Unpin for ValidationError<'a>
impl<'a> Unpin for ValidationError<'a>
impl<'a> !UnwindSafe for ValidationError<'a>
impl<'a> !UnwindSafe for ValidationError<'a>
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,