pub struct DiffStatsOutput {
pub files_changed: usize,
pub insertions: usize,
pub deletions: usize,
}Expand description
Output of DiffStats.
Fields§
§files_changed: usize§insertions: usize§deletions: usizeTrait Implementations§
Source§impl Clone for DiffStatsOutput
impl Clone for DiffStatsOutput
Source§fn clone(&self) -> DiffStatsOutput
fn clone(&self) -> DiffStatsOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DiffStatsOutput
impl Debug for DiffStatsOutput
Source§impl<'de> Deserialize<'de> for DiffStatsOutput
impl<'de> Deserialize<'de> for DiffStatsOutput
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
Auto Trait Implementations§
impl Freeze for DiffStatsOutput
impl RefUnwindSafe for DiffStatsOutput
impl Send for DiffStatsOutput
impl Sync for DiffStatsOutput
impl Unpin for DiffStatsOutput
impl UnsafeUnpin for DiffStatsOutput
impl UnwindSafe for DiffStatsOutput
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