pub struct LocalShellCallAction {
pub command: Vec<String>,
pub env: HashMap<String, String>,
pub type_: String,
pub timeout_ms: Option<i64>,
pub user: Option<String>,
pub working_directory: Option<String>,
}Expand description
Execute a shell command on the server.
Fields§
§command: Vec<String>The command to run.
env: HashMap<String, String>Environment variables to set for the command.
type_: StringThe type of the local shell action. Always exec.
timeout_ms: Option<i64>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 LocalShellCallAction
impl Clone for LocalShellCallAction
Source§fn clone(&self) -> LocalShellCallAction
fn clone(&self) -> LocalShellCallAction
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 LocalShellCallAction
impl Debug for LocalShellCallAction
Source§impl<'de> Deserialize<'de> for LocalShellCallAction
impl<'de> Deserialize<'de> for LocalShellCallAction
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
Auto Trait Implementations§
impl Freeze for LocalShellCallAction
impl RefUnwindSafe for LocalShellCallAction
impl Send for LocalShellCallAction
impl Sync for LocalShellCallAction
impl Unpin for LocalShellCallAction
impl UnsafeUnpin for LocalShellCallAction
impl UnwindSafe for LocalShellCallAction
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