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: u64
url: String
html_url: String
diff_url: String
patch_url: String
issue_url: String
commits_url: String
review_comments_url: String
review_comment_url: String
comments_url: String
statuses_url: String
number: u64
state: String
title: String
body: Option<String>
created_at: String
updated_at: String
closed_at: Option<String>
merged_at: Option<String>
head: Commit
base: Commit
user: User
assignee: 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
sourceimpl<'de> Deserialize<'de> for Pull
impl<'de> Deserialize<'de> for Pull
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for Pull
impl Send for Pull
impl Sync for Pull
impl Unpin for Pull
impl UnwindSafe for Pull
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more