Struct hubcaps::repositories::Repositories
source · Implementations
sourceimpl<C: Clone + Connect + 'static> Repositories<C>
impl<C: Clone + Connect + 'static> Repositories<C>
sourcepub fn create(&self, repo: &RepoOptions) -> Future<Repo>
pub fn create(&self, repo: &RepoOptions) -> Future<Repo>
Create a new repository https://developer.github.com/v3/repos/#create
sourcepub fn list(&self, options: &RepoListOptions) -> Future<Vec<Repo>>
pub fn list(&self, options: &RepoListOptions) -> Future<Vec<Repo>>
list the authenticated users repositories https://developer.github.com/v3/repos/#list-your-repositories
sourcepub fn iter(&self, options: &RepoListOptions) -> Stream<Repo>
pub fn iter(&self, options: &RepoListOptions) -> Stream<Repo>
provides a stream over all pages of the authenticated users repositories https://developer.github.com/v3/repos/#list-your-repositories
Trait Implementations
sourceimpl<C: Clone> Clone for Repositories<C>where
C: Clone + Connect + 'static,
impl<C: Clone> Clone for Repositories<C>where
C: Clone + Connect + 'static,
sourcefn clone(&self) -> Repositories<C>
fn clone(&self) -> Repositories<C>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl<C> !RefUnwindSafe for Repositories<C>
impl<C> Send for Repositories<C>
impl<C> Sync for Repositories<C>
impl<C> Unpin for Repositories<C>
impl<C> !UnwindSafe for Repositories<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