Struct hubcaps::deployments::Deployments [−][src]
Interface for repository deployments
Methods
impl<C: Clone + Connect> Deployments<C>
[src]
impl<C: Clone + Connect> Deployments<C>
pub fn new<O, R>(github: Github<C>, owner: O, repo: R) -> Deployments<C> where
O: Into<String>,
R: Into<String>,
[src]
pub fn new<O, R>(github: Github<C>, owner: O, repo: R) -> Deployments<C> where
O: Into<String>,
R: Into<String>,
Create a new deployments instance
pub fn list(&self, opts: &DeploymentListOptions) -> Future<Vec<Deployment>>
[src]
pub fn list(&self, opts: &DeploymentListOptions) -> Future<Vec<Deployment>>
lists all deployments for a repository
pub fn create(&self, dep: &DeploymentOptions) -> Future<Deployment>
[src]
pub fn create(&self, dep: &DeploymentOptions) -> Future<Deployment>
creates a new deployment for this repository
pub fn statuses(&self, id: u64) -> DeploymentStatuses<C>
[src]
pub fn statuses(&self, id: u64) -> DeploymentStatuses<C>
get a reference to the statuses api for a give deployment
Auto Trait Implementations
impl<C> !Send for Deployments<C>
impl<C> !Send for Deployments<C>
impl<C> !Sync for Deployments<C>
impl<C> !Sync for Deployments<C>