Struct serde_valid::validation::ArrayErrors
source · [−]pub struct ArrayErrors {
pub errors: VecErrors,
pub items: ItemErrorsMap,
}
Fields
errors: VecErrors
items: ItemErrorsMap
Implementations
sourceimpl ArrayErrors
impl ArrayErrors
pub fn new(errors: VecErrors, items: ItemErrorsMap) -> Self
pub fn merge(self, other: ArrayErrors) -> Self
Trait Implementations
sourceimpl Clone for ArrayErrors
impl Clone for ArrayErrors
sourcefn clone(&self) -> ArrayErrors
fn clone(&self) -> ArrayErrors
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ArrayErrors
impl Debug for ArrayErrors
sourceimpl Display for ArrayErrors
impl Display for ArrayErrors
sourceimpl Error for ArrayErrors
impl Error for ArrayErrors
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl Serialize for ArrayErrors
impl Serialize for ArrayErrors
Auto Trait Implementations
impl RefUnwindSafe for ArrayErrors
impl Send for ArrayErrors
impl Sync for ArrayErrors
impl Unpin for ArrayErrors
impl UnwindSafe for ArrayErrors
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more