[−][src]Struct jellyschema::validator::ValidationState
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]
I: IntoIterator<Item = ValidationError>,
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 From<ValidationError> for ValidationState
[src]
fn from(error: ValidationError) -> ValidationState
[src]
impl<T> From<T> for ValidationState where
T: IntoIterator<Item = ValidationError>,
[src]
T: IntoIterator<Item = ValidationError>,
impl Default for ValidationState
[src]
fn default() -> ValidationState
[src]
impl Debug for ValidationState
[src]
Auto Trait Implementations
impl Send for ValidationState
impl Sync for ValidationState
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,