pub struct NormalisedBatch {
pub rows: Vec<u8>,
pub records: usize,
pub header_values: Vec<Vec<String>>,
pub sequence_stats: SequenceStats,
pub header_stats: HeaderStats,
}Expand description
The result of normalising one batch.
Fields§
§rows: Vec<u8>records × width canonical bytes (0 = excluded column).
records: usizeNumber of records.
header_values: Vec<Vec<String>>Cleaned values of the stratified header fields, per record (empty without a format).
sequence_stats: SequenceStatsSequence statistics.
header_stats: HeaderStatsHeader statistics.
Trait Implementations§
Source§impl Debug for NormalisedBatch
impl Debug for NormalisedBatch
Source§impl Default for NormalisedBatch
impl Default for NormalisedBatch
Source§fn default() -> NormalisedBatch
fn default() -> NormalisedBatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NormalisedBatch
impl RefUnwindSafe for NormalisedBatch
impl Send for NormalisedBatch
impl Sync for NormalisedBatch
impl Unpin for NormalisedBatch
impl UnsafeUnpin for NormalisedBatch
impl UnwindSafe for NormalisedBatch
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
§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