pub struct AgentToolResult {
pub content: Vec<Content>,
pub details: Value,
pub terminate: bool,
}Expand description
A live result returned from a tool execution.
Fields§
§content: Vec<Content>§details: Value§terminate: boolImplementations§
Trait Implementations§
Source§impl Clone for AgentToolResult
impl Clone for AgentToolResult
Source§fn clone(&self) -> AgentToolResult
fn clone(&self) -> AgentToolResult
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 moreSource§impl Debug for AgentToolResult
impl Debug for AgentToolResult
Source§impl Default for AgentToolResult
impl Default for AgentToolResult
Source§fn default() -> AgentToolResult
fn default() -> AgentToolResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AgentToolResult
impl RefUnwindSafe for AgentToolResult
impl Send for AgentToolResult
impl Sync for AgentToolResult
impl Unpin for AgentToolResult
impl UnsafeUnpin for AgentToolResult
impl UnwindSafe for AgentToolResult
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