pub enum FieldErrorKind {
Required,
Invalid,
}Expand description
Why a key failed to parse.
Variants§
Required
Posted empty, and the field has no blank answer.
Invalid
Posted a value the field’s type does not accept.
Trait Implementations§
Source§impl Clone for FieldErrorKind
impl Clone for FieldErrorKind
impl Copy for FieldErrorKind
Source§impl Debug for FieldErrorKind
impl Debug for FieldErrorKind
impl Eq for FieldErrorKind
Source§impl PartialEq for FieldErrorKind
impl PartialEq for FieldErrorKind
impl StructuralPartialEq for FieldErrorKind
Auto Trait Implementations§
impl Freeze for FieldErrorKind
impl RefUnwindSafe for FieldErrorKind
impl Send for FieldErrorKind
impl Sync for FieldErrorKind
impl Unpin for FieldErrorKind
impl UnsafeUnpin for FieldErrorKind
impl UnwindSafe for FieldErrorKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.