pub struct ParseSummary {
pub status: ParseStatus,
pub entries: usize,
pub warnings: usize,
pub errors: usize,
pub infos: usize,
pub failed_blocks: usize,
pub recovered_blocks: usize,
}Expand description
Summary counts for a parsed document.
Fields§
§status: ParseStatusFile-level parse status.
entries: usizeNumber of parsed entries.
warnings: usizeNumber of warning diagnostics.
errors: usizeNumber of error diagnostics.
infos: usizeNumber of informational diagnostics.
failed_blocks: usizeNumber of failed blocks.
recovered_blocks: usizeNumber of entries recovered as partial entries.
Trait Implementations§
Source§impl Clone for ParseSummary
impl Clone for ParseSummary
Source§fn clone(&self) -> ParseSummary
fn clone(&self) -> ParseSummary
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 ParseSummary
impl Debug for ParseSummary
Source§impl PartialEq for ParseSummary
impl PartialEq for ParseSummary
Source§fn eq(&self, other: &ParseSummary) -> bool
fn eq(&self, other: &ParseSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ParseSummary
impl Eq for ParseSummary
impl StructuralPartialEq for ParseSummary
Auto Trait Implementations§
impl Freeze for ParseSummary
impl RefUnwindSafe for ParseSummary
impl Send for ParseSummary
impl Sync for ParseSummary
impl Unpin for ParseSummary
impl UnsafeUnpin for ParseSummary
impl UnwindSafe for ParseSummary
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