pub struct ToolCallResult {
pub call_id: String,
pub tool_name: String,
pub result: Result<ToolResult, ToolError>,
pub elapsed_ms: u64,
pub was_parallel: bool,
}Expand description
Result of a tool call execution with timing metadata.
Fields§
§call_id: String§tool_name: String§result: Result<ToolResult, ToolError>§elapsed_ms: u64§was_parallel: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for ToolCallResult
impl RefUnwindSafe for ToolCallResult
impl Send for ToolCallResult
impl Sync for ToolCallResult
impl Unpin for ToolCallResult
impl UnsafeUnpin for ToolCallResult
impl UnwindSafe for ToolCallResult
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