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<'a> Debug for ValidationError<'a>[src]

impl Display for ValidationError<'_>[src]

Textual representation of various validation errors.

impl Error for ValidationError<'_>[src]

impl From<CompilationError> for ValidationError<'_>[src]

impl From<Error> for ValidationError<'_>[src]

impl From<Error> for ValidationError<'_>[src]

impl From<Error> for ValidationError<'_>[src]

impl From<FromUtf8Error> for ValidationError<'_>[src]

impl From<ParseError> for ValidationError<'_>[src]

impl From<Utf8Error> for ValidationError<'_>[src]

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>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.