pub struct SupportedElement<'a>(/* private fields */);Expand description
The Block Elements supported in an Input Block.
Supports:
- Radio Buttons
- Text Input
- Checkboxes
- Date Picker
- All Select Menus
- All Multi-Select Menus
Trait Implementations§
Source§impl<'a> Clone for SupportedElement<'a>
impl<'a> Clone for SupportedElement<'a>
Source§fn clone(&self) -> SupportedElement<'a>
fn clone(&self) -> SupportedElement<'a>
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<'a> Debug for SupportedElement<'a>
impl<'a> Debug for SupportedElement<'a>
Source§impl<'de, 'a> Deserialize<'de> for SupportedElement<'a>
impl<'de, 'a> Deserialize<'de> for SupportedElement<'a>
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
Source§impl<'a> From<Checkboxes<'a>> for SupportedElement<'a>
impl<'a> From<Checkboxes<'a>> for SupportedElement<'a>
Source§fn from(src: Checkboxes<'a>) -> Self
fn from(src: Checkboxes<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Conversation<'a>> for SupportedElement<'a>
impl<'a> From<Conversation<'a>> for SupportedElement<'a>
Source§fn from(src: Conversation<'a>) -> Self
fn from(src: Conversation<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Conversation<'a>> for SupportedElement<'a>
impl<'a> From<Conversation<'a>> for SupportedElement<'a>
Source§fn from(src: Conversation<'a>) -> Self
fn from(src: Conversation<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<DatePicker<'a>> for SupportedElement<'a>
impl<'a> From<DatePicker<'a>> for SupportedElement<'a>
Source§fn from(src: DatePicker<'a>) -> Self
fn from(src: DatePicker<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<External<'a>> for SupportedElement<'a>
impl<'a> From<External<'a>> for SupportedElement<'a>
Source§impl<'a> From<External<'a>> for SupportedElement<'a>
impl<'a> From<External<'a>> for SupportedElement<'a>
Source§impl<'a> From<PublicChannel<'a>> for SupportedElement<'a>
impl<'a> From<PublicChannel<'a>> for SupportedElement<'a>
Source§fn from(src: PublicChannel<'a>) -> Self
fn from(src: PublicChannel<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<PublicChannel<'a>> for SupportedElement<'a>
impl<'a> From<PublicChannel<'a>> for SupportedElement<'a>
Source§fn from(src: PublicChannel<'a>) -> Self
fn from(src: PublicChannel<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Radio<'a>> for SupportedElement<'a>
impl<'a> From<Radio<'a>> for SupportedElement<'a>
Source§impl<'a> From<Static<'a>> for SupportedElement<'a>
impl<'a> From<Static<'a>> for SupportedElement<'a>
Source§impl<'a> From<Static<'a>> for SupportedElement<'a>
impl<'a> From<Static<'a>> for SupportedElement<'a>
Source§impl<'a> From<TextInput<'a>> for SupportedElement<'a>
impl<'a> From<TextInput<'a>> for SupportedElement<'a>
Source§impl<'a> From<User<'a>> for SupportedElement<'a>
impl<'a> From<User<'a>> for SupportedElement<'a>
Source§impl<'a> From<User<'a>> for SupportedElement<'a>
impl<'a> From<User<'a>> for SupportedElement<'a>
Source§impl<'a> Hash for SupportedElement<'a>
impl<'a> Hash for SupportedElement<'a>
Source§impl<'a> PartialEq for SupportedElement<'a>
impl<'a> PartialEq for SupportedElement<'a>
Source§impl<'a> Serialize for SupportedElement<'a>
impl<'a> Serialize for SupportedElement<'a>
impl<'a> StructuralPartialEq for SupportedElement<'a>
Auto Trait Implementations§
impl<'a> Freeze for SupportedElement<'a>
impl<'a> RefUnwindSafe for SupportedElement<'a>
impl<'a> Send for SupportedElement<'a>
impl<'a> Sync for SupportedElement<'a>
impl<'a> Unpin for SupportedElement<'a>
impl<'a> UnwindSafe for SupportedElement<'a>
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