Struct gitlab::types::RepoCommitStats
source · pub struct RepoCommitStats {
pub additions: u64,
pub deletions: u64,
pub total: u64,
}
Expand description
Stats about a commit.
Fields§
§additions: u64
The number of lines added by the commit.
deletions: u64
The number of lines deleted by the commit.
total: u64
The number of lines changed by the commit.
Trait Implementations§
source§impl Clone for RepoCommitStats
impl Clone for RepoCommitStats
source§fn clone(&self) -> RepoCommitStats
fn clone(&self) -> RepoCommitStats
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 RepoCommitStats
impl Debug for RepoCommitStats
source§impl<'de> Deserialize<'de> for RepoCommitStats
impl<'de> Deserialize<'de> for RepoCommitStats
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 Serialize for RepoCommitStats
impl Serialize for RepoCommitStats
impl Copy for RepoCommitStats
Auto Trait Implementations§
impl RefUnwindSafe for RepoCommitStats
impl Send for RepoCommitStats
impl Sync for RepoCommitStats
impl Unpin for RepoCommitStats
impl UnwindSafe for RepoCommitStats
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