pub struct FieldRejection {
pub resource: Option<String>,
pub field: Option<String>,
pub code: Option<String>,
pub message: Option<String>,
}Expand description
A problem in object form.
Fields§
§resource: Option<String>The kind of resource the problem concerns.
field: Option<String>The field that is invalid.
code: Option<String>The machine readable problem, for example missing_field.
message: Option<String>A readable description.
Trait Implementations§
Source§impl Clone for FieldRejection
impl Clone for FieldRejection
Source§fn clone(&self) -> FieldRejection
fn clone(&self) -> FieldRejection
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 FieldRejection
impl Debug for FieldRejection
impl Eq for FieldRejection
Source§impl<'ʄ> Facet<'ʄ> for FieldRejection
impl<'ʄ> Facet<'ʄ> for FieldRejection
Source§impl PartialEq for FieldRejection
impl PartialEq for FieldRejection
impl StructuralPartialEq for FieldRejection
Auto Trait Implementations§
impl Freeze for FieldRejection
impl RefUnwindSafe for FieldRejection
impl Send for FieldRejection
impl Sync for FieldRejection
impl Unpin for FieldRejection
impl UnsafeUnpin for FieldRejection
impl UnwindSafe for FieldRejection
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.