pub struct PullRequest { /* private fields */ }
Implementations§
Source§impl PullRequest
impl PullRequest
Sourcepub fn get(&self) -> Future<PullRequestResponse>
pub fn get(&self) -> Future<PullRequestResponse>
Request a pull requests information
Sourcepub fn update(&self, pr: &PullUpdateOptions) -> Future<PullRequestResponse>
pub fn update(&self, pr: &PullUpdateOptions) -> Future<PullRequestResponse>
Update a pull request
Sourcepub fn active(&self) -> Future<PullRequestResponse>
pub fn active(&self) -> Future<PullRequestResponse>
short hand for updating pr status = active
Sourcepub fn abandon(&self) -> Future<PullRequestResponse>
pub fn abandon(&self) -> Future<PullRequestResponse>
short hand for updating pr status = abandoned
Auto Trait Implementations§
impl Freeze for PullRequest
impl !RefUnwindSafe for PullRequest
impl Send for PullRequest
impl Sync for PullRequest
impl Unpin for PullRequest
impl !UnwindSafe for PullRequest
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