[][src]Struct github_types::PullRequest

pub struct PullRequest {
    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: DateTime,
    pub updated_at: DateTime,
    pub closed_at: Option<DateTime>,
    pub merged_at: Option<DateTime>,
    pub head: ShortCommit,
    pub base: ShortCommit,
    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>,
}

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: DateTimeupdated_at: DateTimeclosed_at: Option<DateTime>merged_at: Option<DateTime>head: ShortCommitbase: ShortCommituser: 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 Eq for PullRequest[src]

impl PartialOrd<PullRequest> for PullRequest[src]

impl PartialEq<PullRequest> for PullRequest[src]

impl Clone for PullRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Ord for PullRequest[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

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

Restrict a value to a certain interval. Read more

impl Debug for PullRequest[src]

impl Hash for PullRequest[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

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

Auto Trait Implementations

impl Send for PullRequest

impl Sync for PullRequest

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

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