pub struct JitSize {
pub lines_added: u64,
pub lines_deleted: u64,
pub files_touched: u32,
pub hunks: u32,
}Available on crate feature
vcs-git only.Expand description
Size of the change (Kamei LA/LD/NF, plus diff hunks).
Fields§
§lines_added: u64Lines added across all touched text files.
lines_deleted: u64Lines deleted across all touched text files.
files_touched: u32Distinct text files the commit touched.
hunks: u32Diff hunks across all touched text files.
Trait Implementations§
impl Copy for JitSize
impl Eq for JitSize
impl StructuralPartialEq for JitSize
Auto Trait Implementations§
impl Freeze for JitSize
impl RefUnwindSafe for JitSize
impl Send for JitSize
impl Sync for JitSize
impl Unpin for JitSize
impl UnsafeUnpin for JitSize
impl UnwindSafe for JitSize
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.