pub struct IValidationError {
pub path: String,
pub expected: String,
pub value: Value,
pub description: Option<String>,
}Expand description
Validation error detail compatible with rustia’s validate() payload shape.
Fields§
§path: String§expected: String§value: Value§description: Option<String>Trait Implementations§
Source§impl Clone for IValidationError
impl Clone for IValidationError
Source§fn clone(&self) -> IValidationError
fn clone(&self) -> IValidationError
Returns a duplicate 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 IValidationError
impl Debug for IValidationError
Source§impl PartialEq for IValidationError
impl PartialEq for IValidationError
impl StructuralPartialEq for IValidationError
Auto Trait Implementations§
impl Freeze for IValidationError
impl RefUnwindSafe for IValidationError
impl Send for IValidationError
impl Sync for IValidationError
impl Unpin for IValidationError
impl UnsafeUnpin for IValidationError
impl UnwindSafe for IValidationError
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