Struct hubcaps::pulls::PullRequests
[−]
[src]
pub struct PullRequests<C> where
C: Clone + Connect, { /* fields omitted */ }
A structure for interfacing with a repositories list of pull requests
Methods
impl<C: Clone + Connect> PullRequests<C>
[src]
fn get(&self, number: u64) -> PullRequest<C>
[src]
Get a reference to a structure for interfacing with a specific pull request
fn create(&self, pr: &PullOptions) -> Future<Pull>
[src]
Create a new pull request
fn list(&self, options: &PullListOptions) -> Future<Vec<Pull>>
[src]
list pull requests
fn iter(&self, options: &PullListOptions) -> Stream<Pull>
[src]
provides a stream over all pages of pull requests