pub struct ToolResultRef {
pub tool_call_id: String,
pub content: String,
}Expand description
A tool result as seen by the guard.
Fields§
§tool_call_id: StringMatches the originating ToolCallRef::id.
content: StringPlain-text content for the summary preview. Multi-part results are concatenated by the host before calling.
Trait Implementations§
Source§impl Clone for ToolResultRef
impl Clone for ToolResultRef
Source§fn clone(&self) -> ToolResultRef
fn clone(&self) -> ToolResultRef
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 ToolResultRef
impl RefUnwindSafe for ToolResultRef
impl Send for ToolResultRef
impl Sync for ToolResultRef
impl Unpin for ToolResultRef
impl UnsafeUnpin for ToolResultRef
impl UnwindSafe for ToolResultRef
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