pub struct ToolCallOutcome {
pub call: ToolCall,
pub result: ToolResult,
pub is_error: bool,
}Expand description
What a tool call produced.
Fields§
§call: ToolCallThe call.
result: ToolResultIts result.
is_error: boolWhether the result is an error.
Trait Implementations§
Source§impl Clone for ToolCallOutcome
impl Clone for ToolCallOutcome
Auto Trait Implementations§
impl Forget for ToolCallOutcome
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