pub struct ToolExecutionResult {
pub tool_name: String,
pub success: bool,
pub output: Option<String>,
pub error: Option<String>,
pub duration_ms: u64,
}Expand description
Result of a tool execution with timing metadata.
Fields§
§tool_name: StringTool name that was executed.
success: boolWhether the tool succeeded.
output: Option<String>Tool output (on success).
error: Option<String>Error message (on failure).
duration_ms: u64Execution duration in milliseconds.
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 (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 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