pub struct ToolCallResult {
pub tool_call: ToolCall,
pub result: ToolResult,
pub success: bool,
pub status: String,
pub connection_required: Option<String>,
pub determinism_fatal: Option<String>,
}Expand description
Result of a single tool call execution
Fields§
§tool_call: ToolCallThe original tool call
result: ToolResultThe result of the tool call
success: boolWhether the execution was successful
status: StringStatus: “success”, “error”, “timeout”, or “cancelled”
connection_required: Option<String>If set, the tool requires a user connection for this provider before it can execute.
determinism_fatal: Option<String>Determinism violation message. When Some, ActAtom::execute returns Err to fail the durable workflow fast rather than continuing with a corrupted replay.
Trait Implementations§
Source§impl Clone for ToolCallResult
impl Clone for ToolCallResult
Source§fn clone(&self) -> ToolCallResult
fn clone(&self) -> ToolCallResult
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 ToolCallResult
impl Debug for ToolCallResult
Source§impl<'de> Deserialize<'de> for ToolCallResult
impl<'de> Deserialize<'de> for ToolCallResult
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 ToolCallResult
impl RefUnwindSafe for ToolCallResult
impl Send for ToolCallResult
impl Sync for ToolCallResult
impl Unpin for ToolCallResult
impl UnsafeUnpin for ToolCallResult
impl UnwindSafe for ToolCallResult
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