pub struct PullRequestDetail {
pub number: u64,
pub state: String,
pub merged: bool,
pub head: GitRef,
pub base: GitRef,
pub created_at: Option<String>,
pub user: Option<Login>,
}Expand description
The fuller pull-request object from /repos/{owner}/{repo}/pulls/{n}:
the head and base refs the search result omits, and whether it merged.
Fields§
§number: u64§state: String§merged: bool§head: GitRef§base: GitRef§created_at: Option<String>When the PR was opened (RFC 3339).
user: Option<Login>Who opened it.
Trait Implementations§
Source§impl Clone for PullRequestDetail
impl Clone for PullRequestDetail
Source§fn clone(&self) -> PullRequestDetail
fn clone(&self) -> PullRequestDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PullRequestDetail
impl Debug for PullRequestDetail
Source§impl<'de> Deserialize<'de> for PullRequestDetail
impl<'de> Deserialize<'de> for PullRequestDetail
Source§fn 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 Freeze for PullRequestDetail
impl RefUnwindSafe for PullRequestDetail
impl Send for PullRequestDetail
impl Sync for PullRequestDetail
impl Unpin for PullRequestDetail
impl UnsafeUnpin for PullRequestDetail
impl UnwindSafe for PullRequestDetail
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more