pub struct PullRequests { /* private fields */ }Expand description
A structure for interfacing with a repositories list of pull requests
Implementations§
Source§impl PullRequests
impl PullRequests
Sourcepub fn get(&self, number: u64) -> PullRequest
pub fn get(&self, number: u64) -> PullRequest
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 Freeze for PullRequests
impl !RefUnwindSafe for PullRequests
impl Send for PullRequests
impl Sync for PullRequests
impl Unpin for PullRequests
impl !UnwindSafe for PullRequests
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