pub struct ChangesSummary {
pub additions: Option<i64>,
pub deletions: Option<i64>,
pub files: Option<i64>,
}Expand description
Aggregate counts describing the file changes associated with a session.
All fields are optional so servers can populate only the metrics they cheaply have available.
Fields§
§additions: Option<i64>Total number of inserted lines across all changed files.
deletions: Option<i64>Total number of deleted lines across all changed files.
files: Option<i64>Number of files that have changes.
Trait Implementations§
Source§impl Clone for ChangesSummary
impl Clone for ChangesSummary
Source§fn clone(&self) -> ChangesSummary
fn clone(&self) -> ChangesSummary
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 ChangesSummary
impl Debug for ChangesSummary
Source§impl Default for ChangesSummary
impl Default for ChangesSummary
Source§fn default() -> ChangesSummary
fn default() -> ChangesSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChangesSummary
impl<'de> Deserialize<'de> for ChangesSummary
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 ChangesSummary
impl PartialEq for ChangesSummary
Source§fn eq(&self, other: &ChangesSummary) -> bool
fn eq(&self, other: &ChangesSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChangesSummary
impl Serialize for ChangesSummary
impl StructuralPartialEq for ChangesSummary
Auto Trait Implementations§
impl Freeze for ChangesSummary
impl RefUnwindSafe for ChangesSummary
impl Send for ChangesSummary
impl Sync for ChangesSummary
impl Unpin for ChangesSummary
impl UnsafeUnpin for ChangesSummary
impl UnwindSafe for ChangesSummary
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