pub struct AgentCharacteristic {
pub agent_id: String,
pub name: String,
pub value: f64,
pub observed_at: i64,
pub sample_count: u64,
}Expand description
A characteristic of an agent, logged from behaviour (T59).
Fields§
§agent_id: StringThe agent’s DID or IRI.
name: StringThe characteristic name (e.g. “latency_p50_ms”, “success_rate”).
value: f64The measured value.
observed_at: i64When this characteristic was observed (Unix seconds).
sample_count: u64Number of observations that contributed to this value.
Implementations§
Trait Implementations§
Source§impl Clone for AgentCharacteristic
impl Clone for AgentCharacteristic
Source§impl Debug for AgentCharacteristic
impl Debug for AgentCharacteristic
Source§impl PartialEq for AgentCharacteristic
impl PartialEq for AgentCharacteristic
impl StructuralPartialEq for AgentCharacteristic
Auto Trait Implementations§
impl Freeze for AgentCharacteristic
impl RefUnwindSafe for AgentCharacteristic
impl Send for AgentCharacteristic
impl Sync for AgentCharacteristic
impl Unpin for AgentCharacteristic
impl UnsafeUnpin for AgentCharacteristic
impl UnwindSafe for AgentCharacteristic
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