pub struct BehaviorSample {
pub agent_id: String,
pub timestamp: String,
pub tool_used: String,
pub evidence_class: EvidenceClass,
pub confidence: f64,
pub response_time_ms: u64,
pub success: bool,
}Expand description
A single observed behavior from an agent.
Fields§
§agent_id: StringIdentifier of the agent that produced this sample.
timestamp: StringISO-8601 timestamp of when the behavior was observed.
tool_used: StringThe tool that was used.
evidence_class: EvidenceClassEvidence classification of the tool’s output.
confidence: f64Confidence of the tool’s output.
response_time_ms: u64How long the tool invocation took in milliseconds.
success: boolWhether the invocation succeeded.
Trait Implementations§
Source§impl Clone for BehaviorSample
impl Clone for BehaviorSample
Source§fn clone(&self) -> BehaviorSample
fn clone(&self) -> BehaviorSample
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 BehaviorSample
impl Debug for BehaviorSample
Source§impl<'de> Deserialize<'de> for BehaviorSample
impl<'de> Deserialize<'de> for BehaviorSample
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 BehaviorSample
impl RefUnwindSafe for BehaviorSample
impl Send for BehaviorSample
impl Sync for BehaviorSample
impl Unpin for BehaviorSample
impl UnsafeUnpin for BehaviorSample
impl UnwindSafe for BehaviorSample
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