pub enum ReplyVia {
None,
FinalMessage {
destination: String,
},
Command,
}Expand description
How an answer to this message travels back.
Variants§
None
Nothing travels back as a message.
FinalMessage
The source’s own channel posts the turn’s final message automatically. Sending it as well would post it twice.
Fields
Command
Nothing travels back unless the agent sends it.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ReplyVia
impl<'de> Deserialize<'de> for ReplyVia
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
impl Eq for ReplyVia
impl StructuralPartialEq for ReplyVia
Auto Trait Implementations§
impl Freeze for ReplyVia
impl RefUnwindSafe for ReplyVia
impl Send for ReplyVia
impl Sync for ReplyVia
impl Unpin for ReplyVia
impl UnsafeUnpin for ReplyVia
impl UnwindSafe for ReplyVia
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.