pub struct A2aMessage {
pub id: String,
pub execution_id: ExecutionId,
pub from_agent: String,
pub message_type: String,
pub payload: Value,
pub created_at: DateTime<Utc>,
}Expand description
Agent-to-Agent message
Fields§
§id: StringUnique message ID
execution_id: ExecutionIdTarget execution
from_agent: StringSource agent ID
message_type: StringMessage type
payload: ValueMessage payload
created_at: DateTime<Utc>When the message was created
Implementations§
Trait Implementations§
Source§impl Clone for A2aMessage
impl Clone for A2aMessage
Source§fn clone(&self) -> A2aMessage
fn clone(&self) -> A2aMessage
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 A2aMessage
impl Debug for A2aMessage
Source§impl<'de> Deserialize<'de> for A2aMessage
impl<'de> Deserialize<'de> for A2aMessage
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 A2aMessage
impl RefUnwindSafe for A2aMessage
impl Send for A2aMessage
impl Sync for A2aMessage
impl Unpin for A2aMessage
impl UnsafeUnpin for A2aMessage
impl UnwindSafe for A2aMessage
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