pub struct RowErrors { /* private fields */ }Expand description
Every reason a row was rejected, in a fixed order. Never empty.
Implementations§
Source§impl RowErrors
impl RowErrors
Sourcepub fn errors(&self) -> &[RowError]
pub fn errors(&self) -> &[RowError]
The rejections, declared fields in declaration order and then unknown keys sorted by name.
Sourcepub fn detail(&self) -> String
pub fn detail(&self) -> String
The problem detail: at most MAX_DETAIL_ERRORS lines joined
with ; , then a count of what was left out. The structured list
keeps everything.
Trait Implementations§
impl Eq for RowErrors
Source§impl Error for RowErrors
impl Error for RowErrors
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for RowErrors
Auto Trait Implementations§
impl Freeze for RowErrors
impl RefUnwindSafe for RowErrors
impl Send for RowErrors
impl Sync for RowErrors
impl Unpin for RowErrors
impl UnsafeUnpin for RowErrors
impl UnwindSafe for RowErrors
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.