[][src]Struct jellyschema::validator::ValidationState

pub struct ValidationState { /* fields omitted */ }

Methods

impl ValidationState[src]

pub fn new() -> ValidationState[src]

pub fn new_with_error(error: ValidationError) -> ValidationState[src]

pub fn new_with_errors<I>(errors: I) -> ValidationState where
    I: IntoIterator<Item = ValidationError>, 
[src]

pub fn push_error(&mut self, error: ValidationError)[src]

pub fn extend(&mut self, other: ValidationState)[src]

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

pub fn errors(&self) -> &Vec<ValidationError>[src]

Trait Implementations

impl Default for ValidationState[src]

impl From<ValidationError> for ValidationState[src]

impl<T> From<T> for ValidationState where
    T: IntoIterator<Item = ValidationError>, 
[src]

impl Debug for ValidationState[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.