pub struct ToolPerformance {
pub tool_name: String,
pub tool_args_hash: String,
pub latency_ms: u64,
pub retries: u32,
pub exit_kind: ExitKind,
pub evidence_footprint: EvidenceFootprint,
pub user_feedback_score: Option<f32>,
pub intent_accuracy: Option<f32>,
}Expand description
Tool performance metrics for optimization
Fields§
§tool_name: String§tool_args_hash: String§latency_ms: u64§retries: u32§exit_kind: ExitKind§evidence_footprint: EvidenceFootprint§user_feedback_score: Option<f32>§intent_accuracy: Option<f32>Trait Implementations§
Source§impl Clone for ToolPerformance
impl Clone for ToolPerformance
Source§fn clone(&self) -> ToolPerformance
fn clone(&self) -> ToolPerformance
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 ToolPerformance
impl Debug for ToolPerformance
Source§impl<'de> Deserialize<'de> for ToolPerformance
impl<'de> Deserialize<'de> for ToolPerformance
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 ToolPerformance
impl RefUnwindSafe for ToolPerformance
impl Send for ToolPerformance
impl Sync for ToolPerformance
impl Unpin for ToolPerformance
impl UnsafeUnpin for ToolPerformance
impl UnwindSafe for ToolPerformance
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