pub struct FunctionShellAction {
pub commands: Vec<String>,
pub timeout_ms: Option<u64>,
pub max_output_length: Option<u64>,
}Expand description
Shell exec action Execute a shell command.
Fields§
§commands: Vec<String>A list of commands to run.
timeout_ms: Option<u64>Optional timeout in milliseconds for the commands.
max_output_length: Option<u64>Optional maximum number of characters to return from each command.
Trait Implementations§
Source§impl Clone for FunctionShellAction
impl Clone for FunctionShellAction
Source§fn clone(&self) -> FunctionShellAction
fn clone(&self) -> FunctionShellAction
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 FunctionShellAction
impl Debug for FunctionShellAction
Source§impl<'de> Deserialize<'de> for FunctionShellAction
impl<'de> Deserialize<'de> for FunctionShellAction
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 FunctionShellAction
impl PartialEq for FunctionShellAction
Source§impl Serialize for FunctionShellAction
impl Serialize for FunctionShellAction
impl StructuralPartialEq for FunctionShellAction
Auto Trait Implementations§
impl Freeze for FunctionShellAction
impl RefUnwindSafe for FunctionShellAction
impl Send for FunctionShellAction
impl Sync for FunctionShellAction
impl Unpin for FunctionShellAction
impl UnwindSafe for FunctionShellAction
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