pub struct ToolOutcome {
pub body: Value,
pub is_error: bool,
}Expand description
What a tool call produced: its JSON result, or the error envelope with
is_error set.
Fields§
§body: Value§is_error: boolTrait Implementations§
Source§impl Clone for ToolOutcome
impl Clone for ToolOutcome
Source§impl Debug for ToolOutcome
impl Debug for ToolOutcome
Source§impl PartialEq for ToolOutcome
impl PartialEq for ToolOutcome
impl StructuralPartialEq for ToolOutcome
Auto Trait Implementations§
impl Freeze for ToolOutcome
impl RefUnwindSafe for ToolOutcome
impl Send for ToolOutcome
impl Sync for ToolOutcome
impl Unpin for ToolOutcome
impl UnsafeUnpin for ToolOutcome
impl UnwindSafe for ToolOutcome
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