pub struct AfterToolCallContext {
pub assistant_message: AssistantMessage,
pub tool_call: ToolCall,
pub args: Value,
pub result: AgentToolResult,
pub is_error: bool,
pub context: AgentContext,
}Fields§
§assistant_message: AssistantMessage§tool_call: ToolCall§args: Value§result: AgentToolResult§is_error: bool§context: AgentContextTrait Implementations§
Source§impl Clone for AfterToolCallContext
impl Clone for AfterToolCallContext
Source§fn clone(&self) -> AfterToolCallContext
fn clone(&self) -> AfterToolCallContext
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 !RefUnwindSafe for AfterToolCallContext
impl !UnwindSafe for AfterToolCallContext
impl Freeze for AfterToolCallContext
impl Send for AfterToolCallContext
impl Sync for AfterToolCallContext
impl Unpin for AfterToolCallContext
impl UnsafeUnpin for AfterToolCallContext
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