Struct roctogen::models::PullRequest [−][src]
pub struct PullRequest {}Show fields
pub url: Option<String>, pub id: Option<i64>, pub node_id: Option<String>, pub html_url: Option<String>, pub diff_url: Option<String>, pub patch_url: Option<String>, pub issue_url: Option<String>, pub commits_url: Option<String>, pub review_comments_url: Option<String>, pub review_comment_url: Option<String>, pub comments_url: Option<String>, pub statuses_url: Option<String>, pub number: Option<i64>, pub state: Option<String>, pub locked: Option<bool>, pub title: Option<String>, pub user: Option<AllOfpullRequestUser>, pub body: Option<String>, pub labels: Option<Vec<PullrequestLabels>>, pub milestone: Option<AllOfpullRequestMilestone>, pub active_lock_reason: Option<String>, pub created_at: Option<DateTime<Utc>>, pub updated_at: Option<DateTime<Utc>>, pub closed_at: Option<DateTime<Utc>>, pub merged_at: Option<DateTime<Utc>>, pub merge_commit_sha: Option<String>, pub assignee: Option<AllOfpullRequestAssignee>, pub assignees: Option<Vec<SimpleUser>>, pub requested_reviewers: Option<Vec<SimpleUser>>, pub requested_teams: Option<Vec<TeamSimple>>, pub head: Option<PullrequestHead>, pub base: Option<PullrequestBase>, pub _links: Option<PullrequestsimpleLinks>, pub author_association: Option<AuthorAssociation>, pub auto_merge: Option<AutoMerge>, pub draft: Option<bool>, pub merged: Option<bool>, pub mergeable: Option<bool>, pub rebaseable: Option<bool>, pub mergeable_state: Option<String>, pub merged_by: Option<AllOfpullRequestMergedBy>, pub comments: Option<i64>, pub review_comments: Option<i64>, pub maintainer_can_modify: Option<bool>, pub commits: Option<i64>, pub additions: Option<i64>, pub deletions: Option<i64>, pub changed_files: Option<i64>,
Expand description
Pull requests let you tell others about changes you’ve pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary.
Fields
url: Option<String>
id: Option<i64>
node_id: Option<String>
html_url: Option<String>
diff_url: Option<String>
patch_url: Option<String>
issue_url: Option<String>
commits_url: Option<String>
review_comments_url: Option<String>
review_comment_url: Option<String>
comments_url: Option<String>
statuses_url: Option<String>
number: Option<i64>
Expand description
Number uniquely identifying the pull request within its repository.
state: Option<String>
Expand description
State of this Pull Request. Either open
or closed
.
locked: Option<bool>
title: Option<String>
Expand description
The title of the pull request.
user: Option<AllOfpullRequestUser>
body: Option<String>
labels: Option<Vec<PullrequestLabels>>
milestone: Option<AllOfpullRequestMilestone>
active_lock_reason: Option<String>
created_at: Option<DateTime<Utc>>
updated_at: Option<DateTime<Utc>>
closed_at: Option<DateTime<Utc>>
merged_at: Option<DateTime<Utc>>
merge_commit_sha: Option<String>
assignee: Option<AllOfpullRequestAssignee>
assignees: Option<Vec<SimpleUser>>
requested_reviewers: Option<Vec<SimpleUser>>
requested_teams: Option<Vec<TeamSimple>>
head: Option<PullrequestHead>
base: Option<PullrequestBase>
_links: Option<PullrequestsimpleLinks>
auto_merge: Option<AutoMerge>
draft: Option<bool>
Expand description
Indicates whether or not the pull request is a draft.
merged: Option<bool>
mergeable: Option<bool>
rebaseable: Option<bool>
mergeable_state: Option<String>
merged_by: Option<AllOfpullRequestMergedBy>
comments: Option<i64>
review_comments: Option<i64>
maintainer_can_modify: Option<bool>
Expand description
Indicates whether maintainers can modify the pull request.
commits: Option<i64>
additions: Option<i64>
deletions: Option<i64>
changed_files: Option<i64>
Trait Implementations
impl Clone for PullRequest
[src]
impl Clone for PullRequest
[src]fn clone(&self) -> PullRequest
[src]
fn clone(&self) -> PullRequest
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PullRequest
[src]
impl Debug for PullRequest
[src]impl Default for PullRequest
[src]
impl Default for PullRequest
[src]fn default() -> PullRequest
[src]
fn default() -> PullRequest
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for PullRequest
[src]
impl<'de> Deserialize<'de> for PullRequest
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<PullRequest> for PullRequest
[src]
impl PartialEq<PullRequest> for PullRequest
[src]fn eq(&self, other: &PullRequest) -> bool
[src]
fn eq(&self, other: &PullRequest) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PullRequest) -> bool
[src]
fn ne(&self, other: &PullRequest) -> bool
[src]This method tests for !=
.
impl Serialize for PullRequest
[src]
impl Serialize for PullRequest
[src]impl StructuralPartialEq for PullRequest
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,