pub struct ToolCallOutcome {
pub call: ToolCall,
pub result: ToolResult,
}Fields§
§call: ToolCall§result: ToolResultTrait 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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToolCallOutcome
impl Debug for ToolCallOutcome
Source§impl From<&ToolCallOutcome> for McpToolOutput
impl From<&ToolCallOutcome> for McpToolOutput
Source§fn from(outcome: &ToolCallOutcome) -> Self
fn from(outcome: &ToolCallOutcome) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ToolCallOutcome
impl RefUnwindSafe for ToolCallOutcome
impl Send for ToolCallOutcome
impl Sync for ToolCallOutcome
impl Unpin 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