Struct hubcaps::repositories::Repository
[−]
[src]
pub struct Repository<'a> { /* fields omitted */ }
Methods
impl<'a> Repository<'a>
[src]
fn new<O, R>(github: &'a Github, owner: O, repo: R) -> Repository<'a> where
O: Into<String>,
R: Into<String>,
O: Into<String>,
R: Into<String>,
fn branches(&self) -> Branches
get a reference to branch operations
fn git(&self) -> Git
get a reference to git operations
fn hooks(&self) -> Hooks
get a reference to repo hook operations
fn get(&self) -> Result<Repo>
get a reference to the GitHub repository object that this Respository
refers to
fn deployments(&self) -> Deployments
get a reference to deployments associated with this repository ref
fn issue(&self, number: u64) -> IssueRef
get a reference to a specific github issue associated with this repoistory ref
fn issues(&self) -> Issues
get a reference to github issues associated with this repoistory ref
fn keys(&self) -> Keys
get a reference to deploy keys associated with this repository ref
fn labels(&self) -> Labels
get a list of labels associated with this repository ref
fn pulls(&self) -> PullRequests
get a list of pulls associated with this repository ref
fn releases(&self) -> Releases
get a reference to releases associated with this repository ref
fn statuses(&self) -> Statuses
get a reference to statuses associated with this reposoitory ref
fn teams(&self) -> RepoTeams
associated with this repository ref