pub struct DiffTotals {Show 15 fields
pub old_code: usize,
pub new_code: usize,
pub delta_code: i64,
pub old_lines: usize,
pub new_lines: usize,
pub delta_lines: i64,
pub old_files: usize,
pub new_files: usize,
pub delta_files: i64,
pub old_bytes: usize,
pub new_bytes: usize,
pub delta_bytes: i64,
pub old_tokens: usize,
pub new_tokens: usize,
pub delta_tokens: i64,
}Expand description
Aggregate totals for the diff.
Fields§
§old_code: usize§new_code: usize§delta_code: i64§old_lines: usize§new_lines: usize§delta_lines: i64§old_files: usize§new_files: usize§delta_files: i64§old_bytes: usize§new_bytes: usize§delta_bytes: i64§old_tokens: usize§new_tokens: usize§delta_tokens: i64Trait Implementations§
Source§impl Clone for DiffTotals
impl Clone for DiffTotals
Source§fn clone(&self) -> DiffTotals
fn clone(&self) -> DiffTotals
Returns a duplicate of the value. Read more
1.0.0 · 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 DiffTotals
impl Debug for DiffTotals
Source§impl<'de> Deserialize<'de> for DiffTotals
impl<'de> Deserialize<'de> for DiffTotals
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DiffTotals
impl PartialEq for DiffTotals
Source§impl Serialize for DiffTotals
impl Serialize for DiffTotals
impl Eq for DiffTotals
impl StructuralPartialEq for DiffTotals
Auto Trait Implementations§
impl Freeze for DiffTotals
impl RefUnwindSafe for DiffTotals
impl Send for DiffTotals
impl Sync for DiffTotals
impl Unpin for DiffTotals
impl UnwindSafe for DiffTotals
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