Struct hubcaps::pull_commits::PullCommits
[−]
[src]
pub struct PullCommits<'a> { /* fields omitted */ }
A structure for interfacing with a pull commits
Methods
impl<'a> PullCommits<'a>
[src]
fn new<O, R>(
github: &'a Github,
owner: O,
repo: R,
number: u64
) -> PullCommits<'a> where
O: Into<String>,
R: Into<String>,
github: &'a Github,
owner: O,
repo: R,
number: u64
) -> PullCommits<'a> where
O: Into<String>,
R: Into<String>,
creates a new instance
use github.repo(...).pulls().get(number).commits()
instead
fn list(&self) -> Result<Vec<PullCommit>>
list pull commits
fn iter(&'a self) -> Result<Iter<'a, Vec<PullCommit>, PullCommit>>
provides an iterator over all pages of pull commits