Struct hubcaps::pulls::PullRequests
[−]
[src]
pub struct PullRequests<'a> { /* fields omitted */ }
A structure for interfacing with a repositories list of pull requests
Methods
impl<'a> PullRequests<'a>
[src]
fn new<O, R>(github: &'a Github<'a>, owner: O, repo: R) -> PullRequests<'a> where O: Into<String>, R: Into<String>
fn get(&self, number: u64) -> PullRequest
Get a reference to a strucuture for interfacing with a specific pull request
fn create(&self, pr: &PullOptions) -> Result<Pull>
Create a new pull request
fn list(&self, options: &PullListOptions) -> Result<Vec<Pull>>
list pull requests