pub struct BatchStatistics {
pub total_lines: usize,
pub successful_lines: usize,
pub failed_lines: usize,
pub processing_time_ms: f64,
pub avg_memory_per_line: usize,
pub overall_schema_match_ratio: f64,
}Expand description
Statistics for batch processing
Fields§
§total_lines: usizeTotal lines/records processed
successful_lines: usizeSuccessfully processed lines
failed_lines: usizeFailed lines
processing_time_ms: f64Total processing time in milliseconds
avg_memory_per_line: usizeAverage memory per line/record
overall_schema_match_ratio: f64Overall schema match ratio
Trait Implementations§
Source§impl Clone for BatchStatistics
impl Clone for BatchStatistics
Source§fn clone(&self) -> BatchStatistics
fn clone(&self) -> BatchStatistics
Returns a duplicate of the value. Read more
1.0.0 · 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 BatchStatistics
impl Debug for BatchStatistics
Source§impl Default for BatchStatistics
impl Default for BatchStatistics
Source§fn default() -> BatchStatistics
fn default() -> BatchStatistics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BatchStatistics
impl RefUnwindSafe for BatchStatistics
impl Send for BatchStatistics
impl Sync for BatchStatistics
impl Unpin for BatchStatistics
impl UnwindSafe for BatchStatistics
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