Struct validator::ValidationErrors
[−]
[src]
pub struct ValidationErrors(_);
Methods
impl ValidationErrors
[src]
fn new() -> ValidationErrors
[src]
fn inner(self) -> HashMap<&'static str, Vec<ValidationError>>
[src]
fn add(&mut self, field: &'static str, error: ValidationError)
[src]
fn is_empty(&self) -> bool
[src]
Trait Implementations
impl Debug for ValidationErrors
[src]
impl Clone for ValidationErrors
[src]
fn clone(&self) -> ValidationErrors
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ValidationErrors
[src]
fn eq(&self, __arg_0: &ValidationErrors) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ValidationErrors) -> bool
[src]
This method tests for !=
.
impl Error for ValidationErrors
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more