pub struct CommitStats {
pub additions: Option<i64>,
pub deletions: Option<i64>,
pub total: Option<i64>,
}
Expand description
CommitStats : CommitStats is statistics for a RepoCommit
Fields§
§additions: Option<i64>
§deletions: Option<i64>
§total: Option<i64>
Implementations§
Source§impl CommitStats
impl CommitStats
Sourcepub fn new() -> CommitStats
pub fn new() -> CommitStats
CommitStats is statistics for a RepoCommit
Trait Implementations§
Source§impl Clone for CommitStats
impl Clone for CommitStats
Source§fn clone(&self) -> CommitStats
fn clone(&self) -> CommitStats
Returns a copy 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 CommitStats
impl Debug for CommitStats
Source§impl Default for CommitStats
impl Default for CommitStats
Source§fn default() -> CommitStats
fn default() -> CommitStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommitStats
impl<'de> Deserialize<'de> for CommitStats
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 CommitStats
impl PartialEq for CommitStats
Source§impl Serialize for CommitStats
impl Serialize for CommitStats
impl StructuralPartialEq for CommitStats
Auto Trait Implementations§
impl Freeze for CommitStats
impl RefUnwindSafe for CommitStats
impl Send for CommitStats
impl Sync for CommitStats
impl Unpin for CommitStats
impl UnwindSafe for CommitStats
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