Struct hubcaps::deployments::DeploymentStatuses
[−]
[src]
pub struct DeploymentStatuses<'a> { /* fields omitted */ }
INterface for deployment statuses
Methods
impl<'a> DeploymentStatuses<'a>
[src]
fn new<O, R>(
github: &'a Github,
owner: O,
repo: R,
id: u64
) -> DeploymentStatuses<'a> where
O: Into<String>,
R: Into<String>,
github: &'a Github,
owner: O,
repo: R,
id: u64
) -> DeploymentStatuses<'a> where
O: Into<String>,
R: Into<String>,
creates a new deployment status
fn list(&self) -> Result<Vec<DeploymentStatus>>
lists all statuses associated with a deployment
fn create(&self, status: &DeploymentStatusOptions) -> Result<DeploymentStatus>
creates a new deployment status. For convenience, a DeploymentStatusOptions.builder interface is required for building up a request