pub struct ToolActivity {
pub tool_name: String,
pub timestamp: DateTime<Utc>,
pub args_summary: String,
pub success: bool,
}Expand description
Tool activity record
Fields§
§tool_name: StringTool name
timestamp: DateTime<Utc>When the activity occurred
args_summary: StringArguments summary (truncated)
success: boolWhether the tool succeeded
Implementations§
Trait Implementations§
Source§impl Clone for ToolActivity
impl Clone for ToolActivity
Source§fn clone(&self) -> ToolActivity
fn clone(&self) -> ToolActivity
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 ToolActivity
impl Debug for ToolActivity
Source§impl<'de> Deserialize<'de> for ToolActivity
impl<'de> Deserialize<'de> for ToolActivity
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 ToolActivity
impl RefUnwindSafe for ToolActivity
impl Send for ToolActivity
impl Sync for ToolActivity
impl Unpin for ToolActivity
impl UnsafeUnpin for ToolActivity
impl UnwindSafe for ToolActivity
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