pub struct Stats {
pub files_changed: usize,
pub insertions: usize,
pub deletions: usize,
}
Expand description
Statistics describing a particular Diff
.
Fields§
§files_changed: usize
Get the total number of files changed in a Diff
insertions: usize
Get the total number of insertions in a Diff
.
deletions: usize
Get the total number of deletions in a Diff
.
Trait Implementations§
impl Copy for Stats
impl Eq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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