Struct hubcaps::repositories::Repository
source · Implementations
sourceimpl<C: Clone + Connect + 'static> Repository<C>
impl<C: Clone + Connect + 'static> Repository<C>
sourcepub fn get(&self) -> Future<Repo>
pub fn get(&self) -> Future<Repo>
get a reference to the GitHub repository object that this Repository
refers to
sourcepub fn edit(&self, options: &RepoEditOptions) -> Future<Repo>
pub fn edit(&self, options: &RepoEditOptions) -> Future<Repo>
https://developer.github.com/v3/repos/#edit
sourcepub fn deployments(&self) -> Deployments<C>
pub fn deployments(&self) -> Deployments<C>
get a reference to deployments associated with this repository ref
sourcepub fn issue(&self, number: u64) -> IssueRef<C>
pub fn issue(&self, number: u64) -> IssueRef<C>
get a reference to a specific github issue associated with this repository ref
sourcepub fn issues(&self) -> Issues<C>
pub fn issues(&self) -> Issues<C>
get a reference to github issues associated with this repository ref
sourcepub fn keys(&self) -> Keys<C>
pub fn keys(&self) -> Keys<C>
get a reference to deploy keys associated with this repository ref
sourcepub fn pulls(&self) -> PullRequests<C>
pub fn pulls(&self) -> PullRequests<C>
get a list of pulls associated with this repository ref
sourcepub fn releases(&self) -> Releases<C>
pub fn releases(&self) -> Releases<C>
get a reference to releases associated with this repository ref
sourcepub fn statuses(&self) -> Statuses<C>
pub fn statuses(&self) -> Statuses<C>
get a reference to statuses associated with this repository ref
sourcepub fn teams(&self) -> RepoTeams<C>
pub fn teams(&self) -> RepoTeams<C>
get a reference to teams associated with this repository ref
sourcepub fn contributors(&self) -> Contributors<C>
pub fn contributors(&self) -> Contributors<C>
get a reference to contributors associated with this repository ref
Auto Trait Implementations
impl<C> !RefUnwindSafe for Repository<C>
impl<C> Send for Repository<C>
impl<C> Sync for Repository<C>
impl<C> Unpin for Repository<C>
impl<C> !UnwindSafe for Repository<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