pub struct ToolCallOutcome {
pub id: String,
pub name: String,
pub ok: bool,
pub result: Option<Value>,
pub error: Option<String>,
pub duration_ms: u64,
}Expand description
Outcome of executing a single tool call.
Fields§
§id: String§name: String§ok: bool§result: Option<Value>§error: Option<String>§duration_ms: u64Trait Implementations§
Source§impl Clone for ToolCallOutcome
impl Clone for ToolCallOutcome
Source§fn clone(&self) -> ToolCallOutcome
fn clone(&self) -> ToolCallOutcome
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 ToolCallOutcome
impl RefUnwindSafe for ToolCallOutcome
impl Send for ToolCallOutcome
impl Sync for ToolCallOutcome
impl Unpin for ToolCallOutcome
impl UnsafeUnpin for ToolCallOutcome
impl UnwindSafe for ToolCallOutcome
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