Struct hubcaps::statuses::Statuses
[−]
[src]
pub struct Statuses<'a> { /* fields omitted */ }
interface for statuses assocaited with a repository
Methods
impl<'a> Statuses<'a>
[src]
fn new<O, R>(github: &'a Github, owner: O, repo: R) -> Statuses<'a> where
O: Into<String>,
R: Into<String>,
O: Into<String>,
R: Into<String>,
fn create(&self, sha: &str, status: &StatusOptions) -> Result<Status>
creates a new status for a target sha
fn list(&self, sha: &str) -> Result<Vec<Status>>
lists all statuses associated with a given git sha
fn combined(&self, sha: &str) -> Result<String>
list the combined statuses for a given git sha