pub struct ToolResultContext {
pub name: String,
pub result: String,
pub tool_id: String,
}Expand description
Result context after a tool call.
Fields§
§name: StringThe tool name.
result: StringThe tool result.
tool_id: StringThe tool call ID.
Trait Implementations§
Source§impl Clone for ToolResultContext
impl Clone for ToolResultContext
Source§fn clone(&self) -> ToolResultContext
fn clone(&self) -> ToolResultContext
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 ToolResultContext
impl RefUnwindSafe for ToolResultContext
impl Send for ToolResultContext
impl Sync for ToolResultContext
impl Unpin for ToolResultContext
impl UnsafeUnpin for ToolResultContext
impl UnwindSafe for ToolResultContext
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