Struct hubcaps::pulls::Pull

source ·
pub struct Pull {
Show 33 fields pub id: u64, pub url: String, pub html_url: String, pub diff_url: String, pub patch_url: String, pub issue_url: String, pub commits_url: String, pub review_comments_url: String, pub review_comment_url: String, pub comments_url: String, pub statuses_url: String, pub number: u64, pub state: String, pub title: String, pub body: Option<String>, pub created_at: String, pub updated_at: String, pub closed_at: Option<String>, pub merged_at: Option<String>, pub head: Commit, pub base: Commit, pub user: User, pub assignee: Option<User>, pub assignees: Vec<User>, pub merge_commit_sha: Option<String>, pub mergeable: Option<bool>, pub merged_by: Option<User>, pub comments: Option<u64>, pub commits: Option<u64>, pub additions: Option<u64>, pub deletions: Option<u64>, pub changed_files: Option<u64>, pub labels: Vec<Label>,
}
Expand description

representation of a github pull request

Fields

id: u64url: Stringhtml_url: Stringdiff_url: Stringpatch_url: Stringissue_url: Stringcommits_url: Stringreview_comments_url: Stringreview_comment_url: Stringcomments_url: Stringstatuses_url: Stringnumber: u64state: Stringtitle: Stringbody: Option<String>created_at: Stringupdated_at: Stringclosed_at: Option<String>merged_at: Option<String>head: Commitbase: Commituser: Userassignee: Option<User>assignees: Vec<User>merge_commit_sha: Option<String>mergeable: Option<bool>merged_by: Option<User>comments: Option<u64>commits: Option<u64>additions: Option<u64>deletions: Option<u64>changed_files: Option<u64>labels: Vec<Label>

Trait Implementations

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.