Struct hubcaps::pulls::PullRequests
source · Expand description
A structure for interfacing with a repositories list of pull requests
Implementations
sourceimpl<C: Clone + Connect + 'static> PullRequests<C>
impl<C: Clone + Connect + 'static> PullRequests<C>
sourcepub fn get(&self, number: u64) -> PullRequest<C>
pub fn get(&self, number: u64) -> PullRequest<C>
Get a reference to a structure for interfacing with a specific pull request
sourcepub fn create(&self, pr: &PullOptions) -> Future<Pull>
pub fn create(&self, pr: &PullOptions) -> Future<Pull>
Create a new pull request
sourcepub fn iter(&self, options: &PullListOptions) -> Stream<Pull>
pub fn iter(&self, options: &PullListOptions) -> Stream<Pull>
provides a stream over all pages of pull requests
Auto Trait Implementations
impl<C> !RefUnwindSafe for PullRequests<C>
impl<C> Send for PullRequests<C>
impl<C> Sync for PullRequests<C>
impl<C> Unpin for PullRequests<C>
impl<C> !UnwindSafe for PullRequests<C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more