pub struct AgentInteractionTracerEvent {
pub timestamp: f64,
pub correlation_id: String,
pub source: String,
pub from_agent: String,
pub to_agent: String,
pub event_type: String,
pub event_id: Option<String>,
}Expand description
Records interactions between agents
Fields§
§timestamp: f64Timestamp when the event occurred (Unix timestamp)
correlation_id: StringUUID string that is copied from cause-to-affect for tracing events
source: StringSource of the event
from_agent: StringName of the agent sending the event
to_agent: StringName of the agent receiving the event
event_type: StringType of event being processed
event_id: Option<String>Unique identifier for the event
Trait Implementations§
Source§impl Clone for AgentInteractionTracerEvent
impl Clone for AgentInteractionTracerEvent
Source§fn clone(&self) -> AgentInteractionTracerEvent
fn clone(&self) -> AgentInteractionTracerEvent
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 AgentInteractionTracerEvent
impl Debug for AgentInteractionTracerEvent
Source§impl<'de> Deserialize<'de> for AgentInteractionTracerEvent
impl<'de> Deserialize<'de> for AgentInteractionTracerEvent
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 TracerEvent for AgentInteractionTracerEvent
impl TracerEvent for AgentInteractionTracerEvent
Source§fn correlation_id(&self) -> &str
fn correlation_id(&self) -> &str
Get the correlation ID for tracing related events
Source§fn printable_summary(&self) -> String
fn printable_summary(&self) -> String
Get a formatted string summary of the event
Auto Trait Implementations§
impl Freeze for AgentInteractionTracerEvent
impl RefUnwindSafe for AgentInteractionTracerEvent
impl Send for AgentInteractionTracerEvent
impl Sync for AgentInteractionTracerEvent
impl Unpin for AgentInteractionTracerEvent
impl UnwindSafe for AgentInteractionTracerEvent
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