pub struct ExecutePayload {
pub execution_id: String,
pub command_name: String,
pub command: Option<String>,
pub args: Option<Vec<String>>,
pub working_directory: Option<String>,
pub environment: Option<HashMap<String, String>>,
pub timeout_ms: i32,
}Expand description
Server→Skill: execute a command.
Fields§
§execution_id: String§command_name: String§command: Option<String>§args: Option<Vec<String>>§working_directory: Option<String>§environment: Option<HashMap<String, String>>§timeout_ms: i32Trait Implementations§
Source§impl Clone for ExecutePayload
impl Clone for ExecutePayload
Source§fn clone(&self) -> ExecutePayload
fn clone(&self) -> ExecutePayload
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 ExecutePayload
impl Debug for ExecutePayload
Source§impl<'de> Deserialize<'de> for ExecutePayload
impl<'de> Deserialize<'de> for ExecutePayload
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 ExecutePayload
impl RefUnwindSafe for ExecutePayload
impl Send for ExecutePayload
impl Sync for ExecutePayload
impl Unpin for ExecutePayload
impl UnsafeUnpin for ExecutePayload
impl UnwindSafe for ExecutePayload
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