pub struct FileChangesSummary {
pub total: usize,
pub created: usize,
pub modified: usize,
pub deleted: usize,
pub renamed: usize,
pub total_lines_added: u64,
pub total_lines_removed: u64,
pub net_lines: i64,
}Expand description
Summary of file changes in a session.
Fields§
§total: usize§created: usize§modified: usize§deleted: usize§renamed: usize§total_lines_added: u64§total_lines_removed: u64§net_lines: i64Trait Implementations§
Source§impl Clone for FileChangesSummary
impl Clone for FileChangesSummary
Source§fn clone(&self) -> FileChangesSummary
fn clone(&self) -> FileChangesSummary
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 FileChangesSummary
impl Debug for FileChangesSummary
Source§impl<'de> Deserialize<'de> for FileChangesSummary
impl<'de> Deserialize<'de> for FileChangesSummary
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 FileChangesSummary
impl RefUnwindSafe for FileChangesSummary
impl Send for FileChangesSummary
impl Sync for FileChangesSummary
impl Unpin for FileChangesSummary
impl UnsafeUnpin for FileChangesSummary
impl UnwindSafe for FileChangesSummary
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