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§
Source§impl DeploymentOptions
impl DeploymentOptions
pub fn builder<C>(commit: C) -> DeploymentOptionsBuilder
Trait Implementations§
Source§impl Debug for DeploymentOptions
impl Debug for DeploymentOptions
Source§impl Default for DeploymentOptions
impl Default for DeploymentOptions
Source§fn default() -> DeploymentOptions
fn default() -> DeploymentOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeploymentOptions
impl RefUnwindSafe for DeploymentOptions
impl Send for DeploymentOptions
impl Sync for DeploymentOptions
impl Unpin for DeploymentOptions
impl UnwindSafe for DeploymentOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more