pub struct ShellProcessDefinition {
pub command: String,
pub arguments: Option<OneOfRunArguments>,
pub environment: Option<HashMap<String, String>>,
}Expand description
Represents the definition of a shell process
Fields§
§command: StringGets/sets the shell command to run
arguments: Option<OneOfRunArguments>Gets/sets the arguments of the shell command to run (supports both array and map forms, matches Go SDK’s RunArguments)
environment: Option<HashMap<String, String>>Gets/sets a key/value mapping of the environment variables, if any, to use when running the configured process
Implementations§
Trait Implementations§
Source§impl Clone for ShellProcessDefinition
impl Clone for ShellProcessDefinition
Source§fn clone(&self) -> ShellProcessDefinition
fn clone(&self) -> ShellProcessDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShellProcessDefinition
impl Debug for ShellProcessDefinition
Source§impl Default for ShellProcessDefinition
impl Default for ShellProcessDefinition
Source§fn default() -> ShellProcessDefinition
fn default() -> ShellProcessDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShellProcessDefinition
impl<'de> Deserialize<'de> for ShellProcessDefinition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ShellProcessDefinition
impl PartialEq for ShellProcessDefinition
Source§fn eq(&self, other: &ShellProcessDefinition) -> bool
fn eq(&self, other: &ShellProcessDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ShellProcessDefinition
impl Serialize for ShellProcessDefinition
impl StructuralPartialEq for ShellProcessDefinition
Auto Trait Implementations§
impl Freeze for ShellProcessDefinition
impl RefUnwindSafe for ShellProcessDefinition
impl Send for ShellProcessDefinition
impl Sync for ShellProcessDefinition
impl Unpin for ShellProcessDefinition
impl UnsafeUnpin for ShellProcessDefinition
impl UnwindSafe for ShellProcessDefinition
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