pub struct PendingToolCall {
pub id: String,
pub name: String,
pub arguments: Value,
}Expand description
A pending tool call to be executed by a strategy.
Fields§
§id: StringUnique identifier for the tool call.
name: StringName of the tool to invoke.
arguments: ValueJSON arguments for the tool.
Trait Implementations§
Source§impl Clone for PendingToolCall
impl Clone for PendingToolCall
Source§fn clone(&self) -> PendingToolCall
fn clone(&self) -> PendingToolCall
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 PendingToolCall
impl Debug for PendingToolCall
Source§impl From<&ToolCall> for PendingToolCall
impl From<&ToolCall> for PendingToolCall
Source§fn from(tc: &ToolCall) -> PendingToolCall
fn from(tc: &ToolCall) -> PendingToolCall
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PendingToolCall
impl RefUnwindSafe for PendingToolCall
impl Send for PendingToolCall
impl Sync for PendingToolCall
impl Unpin for PendingToolCall
impl UnsafeUnpin for PendingToolCall
impl UnwindSafe for PendingToolCall
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