pub struct ToolRow {
pub tool_call_id: String,
pub name: String,
pub args: JsonObject,
pub args_complete: bool,
pub started: bool,
pub output: Option<ToolOutput>,
pub partial: bool,
pub duration_ms: Option<u64>,
}Expand description
Tool call row.
Fields§
§tool_call_id: StringTool-call id.
name: StringTool name.
args: JsonObjectArguments (partial while streaming).
args_complete: boolArguments finished streaming.
started: boolExecution started.
output: Option<ToolOutput>Latest (partial or final) result.
partial: booloutput is a partial update.
duration_ms: Option<u64>Wall time of the finished call.
Trait Implementations§
impl StructuralPartialEq for ToolRow
Auto Trait Implementations§
impl Freeze for ToolRow
impl RefUnwindSafe for ToolRow
impl Send for ToolRow
impl Sync for ToolRow
impl Unpin for ToolRow
impl UnsafeUnpin for ToolRow
impl UnwindSafe for ToolRow
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