Struct hubcaps::deployments::DeploymentOptions
source · 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>
Implementations
sourceimpl DeploymentOptions
impl DeploymentOptions
pub fn builder<C>(commit: C) -> DeploymentOptionsBuilderwhere
C: Into<String>,
Trait Implementations
sourceimpl Debug for DeploymentOptions
impl Debug for DeploymentOptions
sourceimpl Default for DeploymentOptions
impl Default for DeploymentOptions
sourcefn default() -> DeploymentOptions
fn default() -> DeploymentOptions
Returns the “default value” for a type. Read more
sourceimpl Serialize for DeploymentOptions
impl Serialize for DeploymentOptions
Auto Trait Implementations
impl RefUnwindSafe for DeploymentOptions
impl Send for DeploymentOptions
impl Sync for DeploymentOptions
impl Unpin for DeploymentOptions
impl UnwindSafe for DeploymentOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more