pub struct ToolObservation {
pub call: ToolCall,
pub result: ToolResult,
}Expand description
Owned observation of a completed tool result.
Fields§
§call: ToolCallThe tool call that produced the result.
result: ToolResultThe observed tool result.
Trait Implementations§
Source§impl Clone for ToolObservation
impl Clone for ToolObservation
Source§fn clone(&self) -> ToolObservation
fn clone(&self) -> ToolObservation
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 ToolObservation
impl RefUnwindSafe for ToolObservation
impl Send for ToolObservation
impl Sync for ToolObservation
impl Unpin for ToolObservation
impl UnsafeUnpin for ToolObservation
impl UnwindSafe for ToolObservation
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