pub struct ErrorField(/* private fields */);
Expand description
The specific field for which an error occurred.
Trait Implementations§
Source§impl Clone for ErrorField
impl Clone for ErrorField
Source§fn clone(&self) -> ErrorField
fn clone(&self) -> ErrorField
Returns a copy 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 ErrorField
impl Debug for ErrorField
Source§impl Display for ErrorField
impl Display for ErrorField
Source§impl From<ErrorField> for Field
impl From<ErrorField> for Field
Source§fn from(value: ErrorField) -> Field
fn from(value: ErrorField) -> Field
Recover a Field
(unstable) from an ErrorField
(stable wrapper)
Source§impl From<Field> for ErrorField
impl From<Field> for ErrorField
Source§fn from(value: Field) -> ErrorField
fn from(value: Field) -> ErrorField
Create an ErrorField
(stable wrapper) from a Field
(unstable)
Source§impl PartialEq for ErrorField
impl PartialEq for ErrorField
impl Copy for ErrorField
impl StructuralPartialEq for ErrorField
Auto Trait Implementations§
impl Freeze for ErrorField
impl RefUnwindSafe for ErrorField
impl Send for ErrorField
impl Sync for ErrorField
impl Unpin for ErrorField
impl UnwindSafe for ErrorField
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more