Enum validator::ValidationErrorsKind
source · pub enum ValidationErrorsKind {
Struct(Box<ValidationErrors>),
List(BTreeMap<usize, Box<ValidationErrors>>),
Field(Vec<ValidationError>),
}
Variants§
Struct(Box<ValidationErrors>)
List(BTreeMap<usize, Box<ValidationErrors>>)
Field(Vec<ValidationError>)
Trait Implementations§
source§impl Clone for ValidationErrorsKind
impl Clone for ValidationErrorsKind
source§fn clone(&self) -> ValidationErrorsKind
fn clone(&self) -> ValidationErrorsKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ValidationErrorsKind
impl Debug for ValidationErrorsKind
source§impl PartialEq for ValidationErrorsKind
impl PartialEq for ValidationErrorsKind
source§fn eq(&self, other: &ValidationErrorsKind) -> bool
fn eq(&self, other: &ValidationErrorsKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ValidationErrorsKind
impl Serialize for ValidationErrorsKind
impl StructuralPartialEq for ValidationErrorsKind
Auto Trait Implementations§
impl RefUnwindSafe for ValidationErrorsKind
impl Send for ValidationErrorsKind
impl Sync for ValidationErrorsKind
impl Unpin for ValidationErrorsKind
impl UnwindSafe for ValidationErrorsKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more