[−][src]Struct octocrab::models::PullRequest
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.url: String
id: i64
node_id: String
html_url: Url
diff_url: Url
patch_url: Url
issue_url: Url
commits_url: Url
review_comments_url: Url
review_comment_url: Url
comments_url: Url
statuses_url: Url
number: i64
state: IssueState
locked: bool
title: String
user: User
body: Option<String>
body_text: Option<String>
body_html: Option<String>
labels: Option<Vec<Label>>
milestone: Option<Milestone>
active_lock_reason: Option<String>
created_at: DateTime<Utc>
updated_at: Option<DateTime<Utc>>
closed_at: Option<DateTime<Utc>>
mergeable: Option<bool>
merged_at: Option<String>
merge_commit_sha: Option<String>
assignee: Option<User>
assignees: Vec<User>
requested_reviewers: Vec<User>
requested_teams: Vec<RequestedTeam>
head: Head
base: Base
links: Option<Links>
draft: bool
repo: Option<Repository>
Trait Implementations
impl Clone for PullRequest
[src]
fn clone(&self) -> PullRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PullRequest
[src]
impl<'de> Deserialize<'de> for PullRequest
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<PullRequest> for PullRequest
[src]
fn eq(&self, other: &PullRequest) -> bool
[src]
fn ne(&self, other: &PullRequest) -> bool
[src]
impl Serialize for PullRequest
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for PullRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for PullRequest
impl Send for PullRequest
impl Sync for PullRequest
impl Unpin for PullRequest
impl UnwindSafe for PullRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,