Struct hubcaps::issues::Issues [−][src]
Provides access to operations available for a repository issues
Typically accessed via github.repo(..., ...).issues()
Methods
impl<C: Clone + Connect> Issues<C>
[src]
impl<C: Clone + Connect> Issues<C>
pub fn new<O, R>(github: Github<C>, owner: O, repo: R) -> Self where
O: Into<String>,
R: Into<String>,
[src]
pub fn new<O, R>(github: Github<C>, owner: O, repo: R) -> Self where
O: Into<String>,
R: Into<String>,
create a new instance of a github repo issue ref
pub fn get(&self, number: u64) -> IssueRef<C>
[src]
pub fn get(&self, number: u64) -> IssueRef<C>
pub fn create(&self, is: &IssueOptions) -> Future<Issue>
[src]
pub fn create(&self, is: &IssueOptions) -> Future<Issue>
pub fn list(&self, options: &IssueListOptions) -> Future<Vec<Issue>>
[src]
pub fn list(&self, options: &IssueListOptions) -> Future<Vec<Issue>>
Return the first page of issues for this repisotiry See the github docs for more information
pub fn iter(&self, options: &IssueListOptions) -> Stream<Issue>
[src]
pub fn iter(&self, options: &IssueListOptions) -> Stream<Issue>
Return a stream of all issues for this repository
See the github docs for more information
Note: You'll typically want to use a IssueListOptions
with a per_page
of 100 for maximum api credential rate limit efficency