pub struct ToolExecutionRequest {
pub tool_id: String,
pub parameters: HashMap<String, Value>,
pub context: Option<HashMap<String, Value>>,
}Expand description
Tool execution request
Fields§
§tool_id: StringTool ID
parameters: HashMap<String, Value>Tool parameters
context: Option<HashMap<String, Value>>Execution context
Trait Implementations§
Source§impl Clone for ToolExecutionRequest
impl Clone for ToolExecutionRequest
Source§fn clone(&self) -> ToolExecutionRequest
fn clone(&self) -> ToolExecutionRequest
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 ToolExecutionRequest
impl Debug for ToolExecutionRequest
Auto Trait Implementations§
impl Freeze for ToolExecutionRequest
impl RefUnwindSafe for ToolExecutionRequest
impl Send for ToolExecutionRequest
impl Sync for ToolExecutionRequest
impl Unpin for ToolExecutionRequest
impl UnwindSafe for ToolExecutionRequest
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