[−][src]Struct hubcaps::deployments::Deployments
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]
O: Into<String>,
R: Into<String>,
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
impl !RefUnwindSafe for Deployments
impl Send for Deployments
impl Sync for Deployments
impl Unpin for Deployments
impl !UnwindSafe for Deployments
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,