pub struct ValidationInfo {
pub field: String,
pub message: String,
}Expand description
Informational metadata about absent optional/recommended fields.
Produced only when callers request show_missing_optional.
Fields§
§field: String§message: StringImplementations§
Trait Implementations§
Source§impl Clone for ValidationInfo
impl Clone for ValidationInfo
Source§fn clone(&self) -> ValidationInfo
fn clone(&self) -> ValidationInfo
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 ValidationInfo
impl Debug for ValidationInfo
Source§impl PartialEq for ValidationInfo
impl PartialEq for ValidationInfo
Source§fn eq(&self, other: &ValidationInfo) -> bool
fn eq(&self, other: &ValidationInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ValidationInfo
impl StructuralPartialEq for ValidationInfo
Auto Trait Implementations§
impl Freeze for ValidationInfo
impl RefUnwindSafe for ValidationInfo
impl Send for ValidationInfo
impl Sync for ValidationInfo
impl Unpin for ValidationInfo
impl UnsafeUnpin for ValidationInfo
impl UnwindSafe for ValidationInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.