Struct roctogen::models::PullRequest[][src]

pub struct PullRequest {
Show 48 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<NullableSimpleUser>, pub body: Option<String>, pub labels: Option<Vec<PullrequestLabels>>, pub milestone: Option<NullableMilestone>, 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<NullableSimpleUser>, 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<NullableSimpleUser>, 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>

Number uniquely identifying the pull request within its repository.

state: Option<String>

State of this Pull Request. Either open or closed.

locked: Option<bool>title: Option<String>

The title of the pull request.

user: Option<NullableSimpleUser>body: Option<String>labels: Option<Vec<PullrequestLabels>>milestone: Option<NullableMilestone>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<NullableSimpleUser>assignees: Option<Vec<SimpleUser>>requested_reviewers: Option<Vec<SimpleUser>>requested_teams: Option<Vec<TeamSimple>>head: Option<PullrequestHead>base: Option<PullrequestBase>_links: Option<PullrequestsimpleLinks>author_association: Option<AuthorAssociation>auto_merge: Option<AutoMerge>draft: Option<bool>

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<NullableSimpleUser>comments: Option<i64>review_comments: Option<i64>maintainer_can_modify: Option<bool>

Indicates whether maintainers can modify the pull request.

commits: Option<i64>additions: Option<i64>deletions: Option<i64>changed_files: Option<i64>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.