Struct hubcaps::repositories::OrgRepositories
source · Expand description
Provides access to the authenticated user’s repositories
Implementations
sourceimpl<C: Clone + Connect + 'static> OrgRepositories<C>
impl<C: Clone + Connect + 'static> OrgRepositories<C>
sourcepub fn list(&self, options: &OrgRepoListOptions) -> Future<Vec<Repo>>
pub fn list(&self, options: &OrgRepoListOptions) -> Future<Vec<Repo>>
https://developer.github.com/v3/repos/#list-organization-repositories
sourcepub fn iter(&self, options: &OrgRepoListOptions) -> Stream<Repo>
pub fn iter(&self, options: &OrgRepoListOptions) -> Stream<Repo>
provides a stream over all pages of an orgs’s repositories https://developer.github.com/v3/repos/#list-organization-repositories
sourcepub fn create(&self, repo: &RepoOptions) -> Future<Repo>
pub fn create(&self, repo: &RepoOptions) -> Future<Repo>
Create a new org repository https://developer.github.com/v3/repos/#create
Auto Trait Implementations
impl<C> !RefUnwindSafe for OrgRepositories<C>
impl<C> Send for OrgRepositories<C>
impl<C> Sync for OrgRepositories<C>
impl<C> Unpin for OrgRepositories<C>
impl<C> !UnwindSafe for OrgRepositories<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