pub struct SimulationStats {
pub total_commits: usize,
pub commits_to_change: usize,
pub authors_changed: usize,
pub emails_changed: usize,
pub timestamps_changed: usize,
pub messages_changed: usize,
pub date_range_start: Option<NaiveDateTime>,
pub date_range_end: Option<NaiveDateTime>,
}Fields§
§total_commits: usize§commits_to_change: usize§emails_changed: usize§timestamps_changed: usize§messages_changed: usize§date_range_start: Option<NaiveDateTime>§date_range_end: Option<NaiveDateTime>Implementations§
Source§impl SimulationStats
impl SimulationStats
pub fn new(commits: &[CommitInfo]) -> Self
pub fn update_from_changes(&mut self, changes: &[SimulationChange])
pub fn print_summary(&self, operation_mode: &str)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimulationStats
impl RefUnwindSafe for SimulationStats
impl Send for SimulationStats
impl Sync for SimulationStats
impl Unpin for SimulationStats
impl UnwindSafe for SimulationStats
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