pub struct PullRequestDiffStats {
pub file_count: Option<f64>,
pub additions: Option<f64>,
pub changes: Option<f64>,
pub deletions: Option<f64>,
}Expand description
Diff statistics for a pull request.
Fields§
§file_count: Option<f64>The number of files changed in the pull request.
additions: Option<f64>The number of lines added in the pull request.
changes: Option<f64>The number of lines changed in the pull request.
deletions: Option<f64>The number of lines deleted in the pull request.
Trait Implementations§
Source§impl Clone for PullRequestDiffStats
impl Clone for PullRequestDiffStats
Source§fn clone(&self) -> PullRequestDiffStats
fn clone(&self) -> PullRequestDiffStats
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 PullRequestDiffStats
impl Debug for PullRequestDiffStats
Source§impl Default for PullRequestDiffStats
impl Default for PullRequestDiffStats
Source§fn default() -> PullRequestDiffStats
fn default() -> PullRequestDiffStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullRequestDiffStatswhere
PullRequestDiffStats: Default,
impl<'de> Deserialize<'de> for PullRequestDiffStatswhere
PullRequestDiffStats: Default,
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 GraphQLFields for PullRequestDiffStats
impl GraphQLFields for PullRequestDiffStats
Auto Trait Implementations§
impl Freeze for PullRequestDiffStats
impl RefUnwindSafe for PullRequestDiffStats
impl Send for PullRequestDiffStats
impl Sync for PullRequestDiffStats
impl Unpin for PullRequestDiffStats
impl UnsafeUnpin for PullRequestDiffStats
impl UnwindSafe for PullRequestDiffStats
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