pub struct ToolMetadata {
pub created_at: SystemTime,
pub last_called: Option<SystemTime>,
pub call_count: u64,
pub avg_execution_time: Duration,
pub health_status: ToolHealthStatus,
pub tags: Vec<String>,
}Expand description
Tool metadata for tracking and optimization
Fields§
§created_at: SystemTimeTool creation time
last_called: Option<SystemTime>Last call time
call_count: u64Total number of calls
avg_execution_time: DurationAverage execution time
health_status: ToolHealthStatusTool health status
Tags for categorization
Trait Implementations§
Source§impl Clone for ToolMetadata
impl Clone for ToolMetadata
Source§fn clone(&self) -> ToolMetadata
fn clone(&self) -> ToolMetadata
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 moreAuto Trait Implementations§
impl Freeze for ToolMetadata
impl RefUnwindSafe for ToolMetadata
impl Send for ToolMetadata
impl Sync for ToolMetadata
impl Unpin for ToolMetadata
impl UnwindSafe for ToolMetadata
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