pub struct Stats {
pub files_changed: usize,
pub insertions: usize,
pub deletions: usize,
}Expand description
Aggregate statistics for one DiffDocument.
Fields§
§files_changed: usizeNumber of file sections in the document.
insertions: usizeTotal addition lines across all files.
deletions: usizeTotal deletion lines across all files.
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 UnsafeUnpin 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