[−][src]Enum verify::schemars::errors::ErrorValue
feature="schemars"
only.All the validation errors that can occur.
Variants
feature="schemars"
only.Indicates that the schema will never match any value.
InvalidSchema(InvalidSchema)
feature="schemars"
only.Indicates that the schema itself is invalid.
UnsupportedValue(UnsupportedValue)
feature="schemars"
only.Indicates incompatible value that cannot be validated by a schema.
feature="schemars"
only.Indicates invalid type.
Fields of InvalidType
feature="schemars"
only.Indicates invalid enum value.
feature="schemars"
only.Indicates that the number is not multiple of the given value.
Fields of NotMultipleOf
multiple_of: f64
feature="schemars"
only.feature="schemars"
only.Indicates that the number is less than the given minimum value.
Fields of LessThanExpected
feature="schemars"
only.Indicates that the number is more than the given maximum value.
Fields of MoreThanExpected
feature="schemars"
only.Indicates that the string doesn't match the given pattern.
Fields of NoPatternMatch
pattern: String
feature="schemars"
only.feature="schemars"
only.Indicates that the string is too long.
Fields of TooLong
max_length: u32
feature="schemars"
only.feature="schemars"
only.Indicates that the string is too short.
Fields of TooShort
min_length: u32
feature="schemars"
only.feature="schemars"
only.Indicates that none of the subschemas matched.
feature="schemars"
only.Indicates that more than one of the subschemas matched.
Fields of MoreThanOneValid
feature="schemars"
only.Indicates that a not schema matched.
feature="schemars"
only.Indicates that the items in the array are not unique.
Fields of NotUnique
feature="schemars"
only.Indicates that the array doesn't contain the value of a given schema.
feature="schemars"
only.Indicates that the array doesn't have enough items.
Fields of NotEnoughItems
min: usize
feature="schemars"
only.feature="schemars"
only.Indicates that the array has too many items.
Fields of TooManyItems
max: usize
feature="schemars"
only.feature="schemars"
only.Indicates that the object has too few properties.
Fields of NotEnoughProperties
min: usize
feature="schemars"
only.feature="schemars"
only.Indicates that the object has too many properties.
Fields of TooManyProperties
max: usize
feature="schemars"
only.feature="schemars"
only.Indicates that a required property is missing.
Fields of RequiredProperty
name: String
feature="schemars"
only.Custom(String)
feature="schemars"
only.Any error that does not originate from the validator.
Trait Implementations
impl<S: Clone + Span> Clone for ErrorValue<S>
[src]
fn clone(&self) -> ErrorValue<S>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S: Debug + Span> Debug for ErrorValue<S>
[src]
impl<S: Span> Display for ErrorValue<S>
[src]
impl<S: PartialEq + Span> PartialEq<ErrorValue<S>> for ErrorValue<S>
[src]
fn eq(&self, other: &ErrorValue<S>) -> bool
[src]
fn ne(&self, other: &ErrorValue<S>) -> bool
[src]
impl<S: Span> StructuralPartialEq for ErrorValue<S>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for ErrorValue<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for ErrorValue<S> where
S: Send,
S: Send,
impl<S> Sync for ErrorValue<S> where
S: Sync,
S: Sync,
impl<S> Unpin for ErrorValue<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for ErrorValue<S> where
S: RefUnwindSafe + UnwindSafe,
S: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,