pub struct AgentBaseline {
pub agent: String,
pub window: Duration,
pub recall_rate_per_min: f32,
pub write_rate_per_min: f32,
pub namespace_fanout: f32,
pub tool_mix: HashMap<ToolId, f32>,
pub hmac_continuity: f32,
}Fields§
§agent: String§window: DurationWindow the rolling rates cover (e.g. 5 minutes).
recall_rate_per_min: f32§write_rate_per_min: f32§namespace_fanout: f32How many distinct namespaces this agent touched per minute. Spike → possible cross-tenant scan.
tool_mix: HashMap<ToolId, f32>Per-tool fraction of total ops. Sums to ~1.0.
hmac_continuity: f32Fraction of audit rows whose prev_hash matched the running
chain head. 1.0 = perfect; <1.0 = HMAC chain has been
tampered with or replayed.
Implementations§
Trait Implementations§
Source§impl Clone for AgentBaseline
impl Clone for AgentBaseline
Source§fn clone(&self) -> AgentBaseline
fn clone(&self) -> AgentBaseline
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 AgentBaseline
impl Debug for AgentBaseline
Source§impl<'de> Deserialize<'de> for AgentBaseline
impl<'de> Deserialize<'de> for AgentBaseline
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
Source§impl PartialEq for AgentBaseline
impl PartialEq for AgentBaseline
Source§impl Serialize for AgentBaseline
impl Serialize for AgentBaseline
impl StructuralPartialEq for AgentBaseline
Auto Trait Implementations§
impl Freeze for AgentBaseline
impl RefUnwindSafe for AgentBaseline
impl Send for AgentBaseline
impl Sync for AgentBaseline
impl Unpin for AgentBaseline
impl UnsafeUnpin for AgentBaseline
impl UnwindSafe for AgentBaseline
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