Expand description
Provides access to operations available for a repository issues
Typically accessed via github.repo(..., ...).issues()
Implementations
sourceimpl<C: Clone + Connect + 'static> Issues<C>
impl<C: Clone + Connect + 'static> Issues<C>
sourcepub fn new<O, R>(github: Github<C>, owner: O, repo: R) -> Selfwhere
O: Into<String>,
R: Into<String>,
pub fn new<O, R>(github: Github<C>, owner: O, repo: R) -> Selfwhere
O: Into<String>,
R: Into<String>,
create a new instance of a github repo issue ref
pub fn get(&self, number: u64) -> IssueRef<C>
pub fn create(&self, is: &IssueOptions) -> Future<Issue>
sourcepub fn list(&self, options: &IssueListOptions) -> Future<Vec<Issue>>
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
sourcepub fn iter(&self, options: &IssueListOptions) -> Stream<Issue>
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
Auto Trait Implementations
impl<C> !RefUnwindSafe for Issues<C>
impl<C> Send for Issues<C>
impl<C> Sync for Issues<C>
impl<C> Unpin for Issues<C>
impl<C> !UnwindSafe for Issues<C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more