#[non_exhaustive]pub enum ReplyMode {
Text,
Interactive,
}Expand description
How the bot answers (ADR 0015).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Text
Chat text only. The default.
Interactive
Text, plus cards, buttons, menus and forms the agent shows with its show tool, natively
where the platform has them and as text elsewhere.
Trait Implementations§
impl Copy for ReplyMode
Source§impl<'de> Deserialize<'de> for ReplyMode
impl<'de> Deserialize<'de> for ReplyMode
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 ReplyMode
impl StructuralPartialEq for ReplyMode
Auto Trait Implementations§
impl Freeze for ReplyMode
impl RefUnwindSafe for ReplyMode
impl Send for ReplyMode
impl Sync for ReplyMode
impl Unpin for ReplyMode
impl UnsafeUnpin for ReplyMode
impl UnwindSafe for ReplyMode
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