Struct github_rest::model::pull_requests::PullRequest
source · pub struct PullRequest {
pub additions: i64,
pub changed_files: i64,
pub comments: i64,
pub commits: i64,
pub deletions: i64,
pub mergeable: Option<bool>,
pub mergeable_state: String,
pub merged: bool,
pub maintainer_can_modify: bool,
pub merged_by: Option<SimpleUser>,
pub review_comments: i64,
pub shared: SimplePullRequest,
}
Expand description
Fields§
§additions: i64
§changed_files: i64
§comments: i64
§commits: i64
§deletions: i64
§mergeable: Option<bool>
§mergeable_state: String
§merged: bool
§maintainer_can_modify: bool
§merged_by: Option<SimpleUser>
§review_comments: i64
Trait Implementations§
source§impl AsRef<SimplePullRequest> for PullRequest
impl AsRef<SimplePullRequest> for PullRequest
source§fn as_ref(&self) -> &SimplePullRequest
fn as_ref(&self) -> &SimplePullRequest
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for PullRequest
impl Clone for PullRequest
source§fn clone(&self) -> PullRequest
fn clone(&self) -> PullRequest
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 PullRequest
impl Debug for PullRequest
source§impl Deref for PullRequest
impl Deref for PullRequest
source§impl<'de> Deserialize<'de> for PullRequest
impl<'de> Deserialize<'de> for PullRequest
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<PullRequest> for PullRequest
impl PartialEq<PullRequest> for PullRequest
source§fn eq(&self, other: &PullRequest) -> bool
fn eq(&self, other: &PullRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PullRequest
impl Serialize for PullRequest
impl StructuralPartialEq for PullRequest
Auto Trait Implementations§
impl RefUnwindSafe for PullRequest
impl Send for PullRequest
impl Sync for PullRequest
impl Unpin for PullRequest
impl UnwindSafe for PullRequest
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