pub struct AwpTypedMessage {
pub id: Uuid,
pub sender: String,
pub recipient: String,
pub awp_type: AwpMessageType,
pub timestamp: DateTime<Utc>,
pub payload: Value,
}Expand description
AWP-typed agent-to-agent message with domain-specific routing.
Unlike A2aMessage which uses generic request/response types, this
carries an AwpMessageType for typed dispatch in AWP gateways.
Fields§
§id: Uuid§sender: String§recipient: String§awp_type: AwpMessageType§timestamp: DateTime<Utc>§payload: ValueTrait Implementations§
Source§impl Clone for AwpTypedMessage
impl Clone for AwpTypedMessage
Source§fn clone(&self) -> AwpTypedMessage
fn clone(&self) -> AwpTypedMessage
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 AwpTypedMessage
impl Debug for AwpTypedMessage
Source§impl<'de> Deserialize<'de> for AwpTypedMessage
impl<'de> Deserialize<'de> for AwpTypedMessage
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 AwpTypedMessage
impl PartialEq for AwpTypedMessage
Source§fn eq(&self, other: &AwpTypedMessage) -> bool
fn eq(&self, other: &AwpTypedMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AwpTypedMessage
impl Serialize for AwpTypedMessage
impl StructuralPartialEq for AwpTypedMessage
Auto Trait Implementations§
impl Freeze for AwpTypedMessage
impl RefUnwindSafe for AwpTypedMessage
impl Send for AwpTypedMessage
impl Sync for AwpTypedMessage
impl Unpin for AwpTypedMessage
impl UnsafeUnpin for AwpTypedMessage
impl UnwindSafe for AwpTypedMessage
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