pub struct A2aMessage {
pub id: Uuid,
pub sender: String,
pub recipient: String,
pub message_type: A2aMessageType,
pub timestamp: DateTime<Utc>,
pub payload: Value,
}Expand description
Agent-to-agent message following the AWP communication format.
Fields§
§id: Uuid§sender: String§recipient: String§message_type: A2aMessageType§timestamp: DateTime<Utc>§payload: ValueTrait 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 (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 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
Source§impl PartialEq for A2aMessage
impl PartialEq for A2aMessage
Source§fn eq(&self, other: &A2aMessage) -> bool
fn eq(&self, other: &A2aMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for A2aMessage
impl Serialize for A2aMessage
impl StructuralPartialEq for A2aMessage
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