[][src]Struct hubcaps::deployments::Deployments

pub struct Deployments { /* fields omitted */ }

Interface for repository deployments

Implementations

impl Deployments[src]

pub fn new<O, R>(github: Github, owner: O, repo: R) -> Deployments where
    O: Into<String>,
    R: Into<String>, 
[src]

Create a new deployments instance

pub fn list(&self, opts: &DeploymentListOptions) -> Future<Vec<Deployment>>[src]

lists all deployments for a repository

pub fn create(&self, dep: &DeploymentOptions) -> Future<Deployment>[src]

creates a new deployment for this repository

pub fn statuses(&self, id: u64) -> DeploymentStatuses[src]

get a reference to the statuses api for a give deployment

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.