[][src]Struct verify::schemars::errors::Errors

#[repr(transparent)]pub struct Errors<S: Span>(_);
This is supported on feature="schemars" only.

A collection of Errors, this type is returned from validation.

Implementations

impl<S: Span> Errors<S>[src]

pub fn is_empty(&self) -> bool[src]

This is supported on feature="schemars" only.

pub fn len(&self) -> usize[src]

This is supported on feature="schemars" only.

pub fn iter(&self) -> impl Iterator<Item = &Error<S>>[src]

This is supported on feature="schemars" only.

Trait Implementations

impl<S: Span> AddAssign<Errors<S>> for Errors<S>[src]

impl<S: Clone + Span> Clone for Errors<S>[src]

impl<S: Debug + Span> Debug for Errors<S>[src]

impl<S: Span> Display for Errors<S>[src]

impl<S: Span> Error for Errors<S>[src]

impl<S: Span> Error for Errors<S>[src]

impl<S: Span> IntoIterator for Errors<S>[src]

type Item = <SmallVec<[Error<S>; 10]> as IntoIterator>::Item

The type of the elements being iterated over.

type IntoIter = IntoIter<[Error<S>; 10]>

Which kind of iterator are we turning this into?

impl<S: PartialEq + Span> PartialEq<Errors<S>> for Errors<S>[src]

impl<S: Span> StructuralPartialEq for Errors<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for Errors<S> where
    S: RefUnwindSafe

impl<S> Send for Errors<S> where
    S: Send

impl<S> Sync for Errors<S> where
    S: Sync

impl<S> Unpin for Errors<S> where
    S: Unpin

impl<S> UnwindSafe for Errors<S> where
    S: RefUnwindSafe + UnwindSafe

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> DynClone for T where
    T: Clone
[src]

impl<T> ErrorExt for T where
    T: Error
[src]

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.