pub struct ReportSummary {
pub total_files: u64,
pub total_matches: u64,
pub total_replacements: u64,
pub total_bytes_processed: u64,
pub total_bytes_output: u64,
pub duration_ms: u64,
pub pattern_counts: HashMap<String, u64>,
}Expand description
Aggregated summary across all processed files.
Fields§
§total_files: u64Number of files processed.
total_matches: u64Total pattern matches found.
total_replacements: u64Total replacements applied.
total_bytes_processed: u64Total bytes read from input(s).
total_bytes_output: u64Total bytes written to output(s).
duration_ms: u64Wall-clock duration of processing in milliseconds.
pattern_counts: HashMap<String, u64>Aggregate per-pattern match counts.
Trait Implementations§
Source§impl Clone for ReportSummary
impl Clone for ReportSummary
Source§fn clone(&self) -> ReportSummary
fn clone(&self) -> ReportSummary
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 ReportSummary
impl Debug for ReportSummary
Auto Trait Implementations§
impl Freeze for ReportSummary
impl RefUnwindSafe for ReportSummary
impl Send for ReportSummary
impl Sync for ReportSummary
impl Unpin for ReportSummary
impl UnsafeUnpin for ReportSummary
impl UnwindSafe for ReportSummary
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