pub struct ActResult {
pub results: Vec<ToolCallResult>,
pub completed: bool,
pub success_count: u32,
pub error_count: u32,
pub waiting_for_tool_results: bool,
pub blocked: bool,
pub client_tool_calls: Vec<ToolCall>,
pub client_tool_definitions: Vec<ToolDefinition>,
}Expand description
Result of the ActAtom
Fields§
§results: Vec<ToolCallResult>Results for all tool calls
completed: boolWhether all tool calls completed (regardless of success/failure)
success_count: u32Number of successful tool calls
error_count: u32Number of failed tool calls
waiting_for_tool_results: boolWhen true, the act emitted client-side tool calls (connection setup, client-side tools, etc.) and the worker should pause until tool results arrive. Workers check this single flag — they never need to know why the act paused.
blocked: boolTrue when execution stopped before tool execution because a dependency was archived or deleted.
client_tool_calls: Vec<ToolCall>Client-side tool calls that were NOT executed by ActAtom but need to be sent to the client. Populated by ActAtom’s partitioning logic, consumed by ClientSideToolHook.
client_tool_definitions: Vec<ToolDefinition>Tool definitions for the client-side tool calls (for narration/display).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ActResult
impl<'de> Deserialize<'de> for ActResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ActResult
impl RefUnwindSafe for ActResult
impl Send for ActResult
impl Sync for ActResult
impl Unpin for ActResult
impl UnsafeUnpin for ActResult
impl UnwindSafe for ActResult
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