[][src]Struct hubcaps::pulls::Pull

pub struct Pull {
    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 merged: bool,
    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>,
}

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>merged: boolmergeable: 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

impl Debug for Pull[src]

impl<'de> Deserialize<'de> for Pull[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.