pub struct LocalShellExecAction {
pub command: Vec<String>,
pub env: HashMap<String, String>,
pub timeout_ms: Option<u64>,
pub user: Option<String>,
pub working_directory: Option<String>,
}Expand description
Define the shape of a local shell action (exec).
Fields§
§command: Vec<String>The command to run.
env: HashMap<String, String>Environment variables to set for the command.
timeout_ms: Option<u64>Optional timeout in milliseconds for the command.
user: Option<String>Optional user to run the command as.
working_directory: Option<String>Optional working directory to run the command in.
Trait Implementations§
Source§impl Clone for LocalShellExecAction
impl Clone for LocalShellExecAction
Source§fn clone(&self) -> LocalShellExecAction
fn clone(&self) -> LocalShellExecAction
Returns a duplicate of the value. Read more
1.0.0 · 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 LocalShellExecAction
impl Debug for LocalShellExecAction
Source§impl<'de> Deserialize<'de> for LocalShellExecAction
impl<'de> Deserialize<'de> for LocalShellExecAction
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 LocalShellExecAction
impl PartialEq for LocalShellExecAction
Source§impl Serialize for LocalShellExecAction
impl Serialize for LocalShellExecAction
impl StructuralPartialEq for LocalShellExecAction
Auto Trait Implementations§
impl Freeze for LocalShellExecAction
impl RefUnwindSafe for LocalShellExecAction
impl Send for LocalShellExecAction
impl Sync for LocalShellExecAction
impl Unpin for LocalShellExecAction
impl UnwindSafe for LocalShellExecAction
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