pub struct AggregatedStats {
pub total_files: usize,
pub changed_files: usize,
pub skipped_files: usize,
pub lines_added: usize,
pub lines_removed: usize,
pub execution_time_ms: u64,
pub patterns_detected: usize,
}Fields§
§total_files: usize§changed_files: usize§skipped_files: usize§lines_added: usize§lines_removed: usize§execution_time_ms: u64§patterns_detected: usizeImplementations§
Source§impl AggregatedStats
impl AggregatedStats
pub fn new() -> Self
pub fn add_changed_file(&mut self, file: &ChangedFile)
pub fn add_skipped_file(&mut self)
pub fn finalize(&mut self, execution_time_ms: u64)
Trait Implementations§
Source§impl Clone for AggregatedStats
impl Clone for AggregatedStats
Source§fn clone(&self) -> AggregatedStats
fn clone(&self) -> AggregatedStats
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 AggregatedStats
impl Debug for AggregatedStats
Source§impl Default for AggregatedStats
impl Default for AggregatedStats
Source§fn default() -> AggregatedStats
fn default() -> AggregatedStats
Returns the “default value” for a type. Read more
Source§impl From<&TransformationReport> for AggregatedStats
impl From<&TransformationReport> for AggregatedStats
Source§fn from(report: &TransformationReport) -> Self
fn from(report: &TransformationReport) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AggregatedStats
impl RefUnwindSafe for AggregatedStats
impl Send for AggregatedStats
impl Sync for AggregatedStats
impl Unpin for AggregatedStats
impl UnsafeUnpin for AggregatedStats
impl UnwindSafe for AggregatedStats
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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