#[non_exhaustive]pub struct SkippedEntry {
pub index: usize,
pub raw: String,
pub reason: String,
}Expand description
An entry of a list that could not be decoded. It is left out of the list, logged as a warning and kept here.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.index: usizePosition in the list as received.
raw: StringThe entry’s JSON as received.
reason: StringWhy it was skipped.
Trait Implementations§
Source§impl Clone for SkippedEntry
impl Clone for SkippedEntry
Source§impl Debug for SkippedEntry
impl Debug for SkippedEntry
impl Eq for SkippedEntry
Source§impl PartialEq for SkippedEntry
impl PartialEq for SkippedEntry
impl StructuralPartialEq for SkippedEntry
Auto Trait Implementations§
impl Forget for SkippedEntry
impl Freeze for SkippedEntry
impl Move for SkippedEntry
impl RefUnwindSafe for SkippedEntry
impl Send for SkippedEntrywhere
RawVecInner: Send,
impl Sync for SkippedEntrywhere
RawVecInner: Sync,
impl Unpin for SkippedEntry
impl UnsafeUnpin for SkippedEntry
impl UnwindSafe for SkippedEntrywhere
RawVecInner: UnwindSafe,
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