pub struct ToolCallLog {
pub name: String,
pub context: String,
pub result: String,
pub success: bool,
pub duration_ms: Option<u64>,
}Expand description
Log entry for a single tool call within a subagent.
Fields§
§name: StringTool name.
context: StringBrief context/args (e.g., file path, command).
result: StringBrief result summary.
success: boolWhether the tool call succeeded.
duration_ms: Option<u64>Duration in milliseconds.
Trait Implementations§
Source§impl Clone for ToolCallLog
impl Clone for ToolCallLog
Source§fn clone(&self) -> ToolCallLog
fn clone(&self) -> ToolCallLog
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 moreSource§impl Debug for ToolCallLog
impl Debug for ToolCallLog
Source§impl<'de> Deserialize<'de> for ToolCallLog
impl<'de> Deserialize<'de> for ToolCallLog
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 ToolCallLog
impl RefUnwindSafe for ToolCallLog
impl Send for ToolCallLog
impl Sync for ToolCallLog
impl Unpin for ToolCallLog
impl UnwindSafe for ToolCallLog
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