pub struct CoordinationMessage {
pub from_role: AgentRole,
pub to_role: AgentRole,
pub task_id: String,
pub content: String,
}Fields§
§from_role: AgentRole§to_role: AgentRole§task_id: String§content: StringTrait Implementations§
Source§impl Clone for CoordinationMessage
impl Clone for CoordinationMessage
Source§fn clone(&self) -> CoordinationMessage
fn clone(&self) -> CoordinationMessage
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 CoordinationMessage
impl Debug for CoordinationMessage
Source§impl<'de> Deserialize<'de> for CoordinationMessage
impl<'de> Deserialize<'de> for CoordinationMessage
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CoordinationMessage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CoordinationMessage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CoordinationMessage
impl PartialEq for CoordinationMessage
Source§impl Serialize for CoordinationMessage
impl Serialize for CoordinationMessage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for CoordinationMessage
impl StructuralPartialEq for CoordinationMessage
Auto Trait Implementations§
impl Freeze for CoordinationMessage
impl RefUnwindSafe for CoordinationMessage
impl Send for CoordinationMessage
impl Sync for CoordinationMessage
impl Unpin for CoordinationMessage
impl UnsafeUnpin for CoordinationMessage
impl UnwindSafe for CoordinationMessage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.