pub struct ToolExecutionOutcome {
pub call: ToolCall,
pub output: Result<ToolOutput, ToolError>,
pub message: Message,
}Expand description
Fields§
§call: ToolCallThe original tool call.
output: Result<ToolOutput, ToolError>Output if successful, or the tool error if failed.
message: MessageThe resulting message for the conversation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolExecutionOutcome
impl RefUnwindSafe for ToolExecutionOutcome
impl Send for ToolExecutionOutcome
impl Sync for ToolExecutionOutcome
impl Unpin for ToolExecutionOutcome
impl UnsafeUnpin for ToolExecutionOutcome
impl UnwindSafe for ToolExecutionOutcome
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