pub struct UiCaps {
pub buttons: bool,
pub select: bool,
pub forms: bool,
pub cards: bool,
pub images: bool,
}Expand description
The parts of a Prompt a channel shows natively. Whatever is missing is
shown as text (cards, a numbered menu, a list of fields to type).
Fields§
Buttons, including link buttons.
select: boolA menu of options (Select).
forms: boolForms behind buttons.
cards: boolCards with a title, shown apart from the text.
images: boolA card’s chart as a picture (Card::image, ADR 0016).
Implementations§
Trait Implementations§
impl Copy for UiCaps
Source§impl<'de> Deserialize<'de> for UiCaps
impl<'de> Deserialize<'de> for UiCaps
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 UiCaps
impl StructuralPartialEq for UiCaps
Auto Trait Implementations§
impl Freeze for UiCaps
impl RefUnwindSafe for UiCaps
impl Send for UiCaps
impl Sync for UiCaps
impl Unpin for UiCaps
impl UnsafeUnpin for UiCaps
impl UnwindSafe for UiCaps
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