pub struct Pull {
pub number: u64,
pub title: String,
pub url: String,
pub state: String,
pub draft: bool,
pub review: Option<String>,
pub checks: (u32, u32, u32),
}Expand description
A branch’s pull request.
Fields§
§number: u64#n.
title: StringIts title.
url: StringIts address.
state: StringOPEN, CLOSED or MERGED.
draft: boolA draft.
review: Option<String>APPROVED, CHANGES_REQUESTED, REVIEW_REQUIRED, or none.
checks: (u32, u32, u32)Checks that passed, failed, and are still running.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pull
impl RefUnwindSafe for Pull
impl Send for Pull
impl Sync for Pull
impl Unpin for Pull
impl UnsafeUnpin for Pull
impl UnwindSafe for Pull
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