pub struct ValidationDetail {
pub path: String,
pub expected: String,
pub actual: String,
}Expand description
A single validation error with path, expected type, and actual value description.
Fields§
§path: String§expected: String§actual: StringImplementations§
Trait Implementations§
Source§impl Clone for ValidationDetail
impl Clone for ValidationDetail
Source§fn clone(&self) -> ValidationDetail
fn clone(&self) -> ValidationDetail
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 moreAuto Trait Implementations§
impl Freeze for ValidationDetail
impl RefUnwindSafe for ValidationDetail
impl Send for ValidationDetail
impl Sync for ValidationDetail
impl Unpin for ValidationDetail
impl UnsafeUnpin for ValidationDetail
impl UnwindSafe for ValidationDetail
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