Struct hubcaps::repositories::Repositories
[−]
[src]
pub struct Repositories<'a> { /* fields omitted */ }
Methods
impl<'a> Repositories<'a>
[src]
fn new(github: &'a Github) -> Repositories<'a>
fn create(&self, repo: &RepoOptions) -> Result<Repo>
Create a new repository https://developer.github.com/v3/repos/#create
fn list(&self, options: &RepoListOptions) -> Result<Vec<Repo>>
list the authenticated users repositories https://developer.github.com/v3/repos/#list-your-repositories
fn iter(&self, options: &RepoListOptions) -> Result<Iter<'a, Vec<Repo>, Repo>>
provides an iterator over all pages of the authenticated users repositories https://developer.github.com/v3/repos/#list-your-repositories