Struct roctogen::models::PullRequestSimple [−][src]
pub struct PullRequestSimple {}Show 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<AllOfpullRequestSimpleUser>, pub body: Option<String>, pub labels: Option<Vec<PullrequestsimpleLabels>>, pub milestone: Option<AllOfpullRequestSimpleMilestone>, 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<AllOfpullRequestSimpleAssignee>, pub assignees: Option<Vec<SimpleUser>>, pub requested_reviewers: Option<Vec<SimpleUser>>, pub requested_teams: Option<Vec<TeamSimple>>, pub head: Option<PullrequestsimpleHead>, pub base: Option<PullrequestsimpleHead>, pub _links: Option<PullrequestsimpleLinks>, pub author_association: Option<AuthorAssociation>, pub auto_merge: Option<AutoMerge>, pub draft: Option<bool>,
Expand description
Pull Request Simple
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>
state: Option<String>
locked: Option<bool>
title: Option<String>
user: Option<AllOfpullRequestSimpleUser>
body: Option<String>
labels: Option<Vec<PullrequestsimpleLabels>>
milestone: Option<AllOfpullRequestSimpleMilestone>
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<AllOfpullRequestSimpleAssignee>
assignees: Option<Vec<SimpleUser>>
requested_reviewers: Option<Vec<SimpleUser>>
requested_teams: Option<Vec<TeamSimple>>
head: Option<PullrequestsimpleHead>
base: Option<PullrequestsimpleHead>
_links: Option<PullrequestsimpleLinks>
auto_merge: Option<AutoMerge>
draft: Option<bool>
Expand description
Indicates whether or not the pull request is a draft.
Trait Implementations
impl Clone for PullRequestSimple
[src]
impl Clone for PullRequestSimple
[src]fn clone(&self) -> PullRequestSimple
[src]
fn clone(&self) -> PullRequestSimple
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PullRequestSimple
[src]
impl Debug for PullRequestSimple
[src]impl Default for PullRequestSimple
[src]
impl Default for PullRequestSimple
[src]fn default() -> PullRequestSimple
[src]
fn default() -> PullRequestSimple
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for PullRequestSimple
[src]
impl<'de> Deserialize<'de> for PullRequestSimple
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<PullRequestSimple> for PullRequestSimple
[src]
impl PartialEq<PullRequestSimple> for PullRequestSimple
[src]fn eq(&self, other: &PullRequestSimple) -> bool
[src]
fn eq(&self, other: &PullRequestSimple) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PullRequestSimple) -> bool
[src]
fn ne(&self, other: &PullRequestSimple) -> bool
[src]This method tests for !=
.
impl Serialize for PullRequestSimple
[src]
impl Serialize for PullRequestSimple
[src]impl StructuralPartialEq for PullRequestSimple
[src]
Auto Trait Implementations
impl RefUnwindSafe for PullRequestSimple
impl Send for PullRequestSimple
impl Sync for PullRequestSimple
impl Unpin for PullRequestSimple
impl UnwindSafe for PullRequestSimple
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,