pub struct HeaderStats {
pub records: u64,
pub utf8_replacements: u64,
pub cleaning: CleanStats,
pub mismatch_count: u64,
pub mismatches: Vec<HeaderMismatch>,
}Expand description
Header-processing counters for one batch (or the whole run), mergeable in input order.
Fields§
§records: u64Headers processed.
utf8_replacements: u64Invalid UTF-8 sequences replaced by U+FFFD.
cleaning: CleanStatsValue cleaning.
mismatch_count: u64Headers whose field count differs from the format.
mismatches: Vec<HeaderMismatch>The first mismatches, in input order.
Implementations§
Source§impl HeaderStats
impl HeaderStats
Trait Implementations§
Source§impl Clone for HeaderStats
impl Clone for HeaderStats
Source§fn clone(&self) -> HeaderStats
fn clone(&self) -> HeaderStats
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 HeaderStats
impl Debug for HeaderStats
Source§impl Default for HeaderStats
impl Default for HeaderStats
Source§fn default() -> HeaderStats
fn default() -> HeaderStats
Returns the “default value” for a type. Read more
impl Eq for HeaderStats
Source§impl PartialEq for HeaderStats
impl PartialEq for HeaderStats
impl StructuralPartialEq for HeaderStats
Auto Trait Implementations§
impl Freeze for HeaderStats
impl RefUnwindSafe for HeaderStats
impl Send for HeaderStats
impl Sync for HeaderStats
impl Unpin for HeaderStats
impl UnsafeUnpin for HeaderStats
impl UnwindSafe for HeaderStats
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
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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