pub struct ToolExecutionResult {
pub execution: ToolExecution,
pub outcome: ToolCallOutcome,
pub suspended_call: Option<SuspendedCall>,
pub reminders: Vec<String>,
pub user_messages: Vec<String>,
pub pending_patches: Vec<TrackedPatch>,
pub serialized_state_actions: Vec<SerializedStateAction>,
}Expand description
Output item produced by tool execution strategies.
Fields§
§execution: ToolExecution§outcome: ToolCallOutcome§suspended_call: Option<SuspendedCall>Suspension payload for suspended outcomes.
reminders: Vec<String>§user_messages: Vec<String>User messages to append after tool execution.
pending_patches: Vec<TrackedPatch>§serialized_state_actions: Vec<SerializedStateAction>Serialized state actions captured during this tool execution (intent log).
Trait Implementations§
Source§impl Clone for ToolExecutionResult
impl Clone for ToolExecutionResult
Source§fn clone(&self) -> ToolExecutionResult
fn clone(&self) -> ToolExecutionResult
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolExecutionResult
impl RefUnwindSafe for ToolExecutionResult
impl Send for ToolExecutionResult
impl Sync for ToolExecutionResult
impl Unpin for ToolExecutionResult
impl UnsafeUnpin for ToolExecutionResult
impl UnwindSafe for ToolExecutionResult
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