pub struct ValidationErrorInfo {
pub field: String,
pub message: String,
}Expand description
Structured validation error information.
Fields§
§field: StringField that failed validation.
message: StringDescription of the error.
Implementations§
Trait Implementations§
Source§impl Clone for ValidationErrorInfo
impl Clone for ValidationErrorInfo
Source§fn clone(&self) -> ValidationErrorInfo
fn clone(&self) -> ValidationErrorInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ValidationErrorInfo
impl Debug for ValidationErrorInfo
Auto Trait Implementations§
impl Freeze for ValidationErrorInfo
impl RefUnwindSafe for ValidationErrorInfo
impl Send for ValidationErrorInfo
impl Sync for ValidationErrorInfo
impl Unpin for ValidationErrorInfo
impl UnsafeUnpin for ValidationErrorInfo
impl UnwindSafe for ValidationErrorInfo
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