Struct hubcaps::deployments::DeploymentOptions [−][src]
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: String
task: 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>
Methods
impl DeploymentOptions
[src]
impl DeploymentOptions
pub fn builder<C>(commit: C) -> DeploymentOptionsBuilder where
C: Into<String>,
[src]
pub fn builder<C>(commit: C) -> DeploymentOptionsBuilder where
C: Into<String>,
Trait Implementations
impl Debug for DeploymentOptions
[src]
impl Debug for DeploymentOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for DeploymentOptions
[src]
impl Default for DeploymentOptions
fn default() -> DeploymentOptions
[src]
fn default() -> DeploymentOptions
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for DeploymentOptions
impl Send for DeploymentOptions
impl Sync for DeploymentOptions
impl Sync for DeploymentOptions