pub struct A2AMessageLogEntry {
pub from: AgentId,
pub to: AgentId,
pub message_type: String,
pub timestamp: DateTime<Utc>,
pub content: String,
}Expand description
A single entry in the A2A message log.
Records every message that passes through the protocol for
observability and debugging. The log is append-only and bounded
to A2AProtocol::MAX_LOG_ENTRIES entries (oldest are pruned).
Fields§
§from: AgentIdSending agent’s ID.
to: AgentIdReceiving agent’s ID.
message_type: StringMessage type name (e.g. “task_delegation”, “handshake”).
timestamp: DateTime<Utc>When this message was logged.
content: StringShort human-readable content summary.
Trait Implementations§
Source§impl Clone for A2AMessageLogEntry
impl Clone for A2AMessageLogEntry
Source§fn clone(&self) -> A2AMessageLogEntry
fn clone(&self) -> A2AMessageLogEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 A2AMessageLogEntry
impl Debug for A2AMessageLogEntry
Source§impl<'de> Deserialize<'de> for A2AMessageLogEntry
impl<'de> Deserialize<'de> for A2AMessageLogEntry
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 A2AMessageLogEntry
impl RefUnwindSafe for A2AMessageLogEntry
impl Send for A2AMessageLogEntry
impl Sync for A2AMessageLogEntry
impl Unpin for A2AMessageLogEntry
impl UnsafeUnpin for A2AMessageLogEntry
impl UnwindSafe for A2AMessageLogEntry
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