pub struct ToolCallExecution {
pub id: String,
pub name: String,
pub args: HashMap<String, Value>,
}Expand description
A single tool call to execute, identified by an opaque id.
The id is preserved on the matching ToolCallOutcome so callers can
pair calls and outcomes deterministically.
Fields§
§id: String§name: String§args: HashMap<String, Value>Trait Implementations§
Source§impl Clone for ToolCallExecution
impl Clone for ToolCallExecution
Source§fn clone(&self) -> ToolCallExecution
fn clone(&self) -> ToolCallExecution
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 moreAuto Trait Implementations§
impl Freeze for ToolCallExecution
impl RefUnwindSafe for ToolCallExecution
impl Send for ToolCallExecution
impl Sync for ToolCallExecution
impl Unpin for ToolCallExecution
impl UnsafeUnpin for ToolCallExecution
impl UnwindSafe for ToolCallExecution
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