[][src]Struct hubcaps::deployments::DeploymentOptions

pub struct DeploymentOptions {
    pub commit_ref: String,
    pub task: Option<String>,
    pub auto_merge: Option<bool>,
    pub required_contexts: Option<Vec<String>>,
    pub payload: Option<String>,
    pub environment: Option<String>,
    pub description: Option<String>,
}

Fields

commit_ref: Stringtask: Option<String>auto_merge: Option<bool>required_contexts: Option<Vec<String>>payload: Option<String>

contents of payload should be valid JSON

environment: Option<String>description: Option<String>

Implementations

impl DeploymentOptions[src]

pub fn builder<C>(commit: C) -> DeploymentOptionsBuilder where
    C: Into<String>, 
[src]

Trait Implementations

impl Debug for DeploymentOptions[src]

impl Default for DeploymentOptions[src]

impl Serialize for DeploymentOptions[src]

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.