pub struct AgentEnvelope {
pub agent_id: String,
pub subject: String,
pub payload: Value,
}Expand description
IPC envelope for events exchanged with agents
Fields§
§agent_id: StringAgent identifier
subject: StringSubject/topic of the event
payload: ValueJSON payload
Trait Implementations§
Source§impl Clone for AgentEnvelope
impl Clone for AgentEnvelope
Source§fn clone(&self) -> AgentEnvelope
fn clone(&self) -> AgentEnvelope
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 AgentEnvelope
impl Debug for AgentEnvelope
Source§impl<'de> Deserialize<'de> for AgentEnvelope
impl<'de> Deserialize<'de> for AgentEnvelope
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 AgentEnvelope
impl RefUnwindSafe for AgentEnvelope
impl Send for AgentEnvelope
impl Sync for AgentEnvelope
impl Unpin for AgentEnvelope
impl UnwindSafe for AgentEnvelope
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