pub enum SlackInputBlockElement {
Show 18 variants
StaticSelect(SlackBlockStaticSelectElement),
MultiStaticSelect(SlackBlockMultiStaticSelectElement),
ExternalSelect(SlackBlockExternalSelectElement),
MultiExternalSelect(SlackBlockMultiExternalSelectElement),
UsersSelect(SlackBlockUsersSelectElement),
MultiUsersSelect(SlackBlockMultiUsersSelectElement),
ConversationsSelect(SlackBlockConversationsSelectElement),
MultiConversationsSelect(SlackBlockMultiConversationsSelectElement),
ChannelsSelect(SlackBlockChannelsSelectElement),
MultiChannelsSelect(SlackBlockMultiChannelsSelectElement),
DatePicker(SlackBlockDatePickerElement),
DateTimePicker(SlackBlockDateTimePickerElement),
PlainTextInput(SlackBlockPlainTextInputElement),
NumberInput(SlackBlockNumberInputElement),
UrlInput(SlackBlockUrlInputElement),
RadioButtons(SlackBlockRadioButtonsElement),
Checkboxes(SlackBlockCheckboxesElement),
EmailInput(SlackBlockEmailInputElement),
}Variants§
StaticSelect(SlackBlockStaticSelectElement)
MultiStaticSelect(SlackBlockMultiStaticSelectElement)
ExternalSelect(SlackBlockExternalSelectElement)
MultiExternalSelect(SlackBlockMultiExternalSelectElement)
UsersSelect(SlackBlockUsersSelectElement)
MultiUsersSelect(SlackBlockMultiUsersSelectElement)
ConversationsSelect(SlackBlockConversationsSelectElement)
MultiConversationsSelect(SlackBlockMultiConversationsSelectElement)
ChannelsSelect(SlackBlockChannelsSelectElement)
MultiChannelsSelect(SlackBlockMultiChannelsSelectElement)
DatePicker(SlackBlockDatePickerElement)
DateTimePicker(SlackBlockDateTimePickerElement)
PlainTextInput(SlackBlockPlainTextInputElement)
NumberInput(SlackBlockNumberInputElement)
UrlInput(SlackBlockUrlInputElement)
RadioButtons(SlackBlockRadioButtonsElement)
Checkboxes(SlackBlockCheckboxesElement)
EmailInput(SlackBlockEmailInputElement)
Trait Implementations§
source§impl Clone for SlackInputBlockElement
impl Clone for SlackInputBlockElement
source§fn clone(&self) -> SlackInputBlockElement
fn clone(&self) -> SlackInputBlockElement
Returns a copy 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 SlackInputBlockElement
impl Debug for SlackInputBlockElement
source§impl<'de> Deserialize<'de> for SlackInputBlockElement
impl<'de> Deserialize<'de> for SlackInputBlockElement
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 From<SlackBlockChannelsSelectElement> for SlackInputBlockElement
impl From<SlackBlockChannelsSelectElement> for SlackInputBlockElement
source§fn from(element: SlackBlockChannelsSelectElement) -> Self
fn from(element: SlackBlockChannelsSelectElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockCheckboxesElement> for SlackInputBlockElement
impl From<SlackBlockCheckboxesElement> for SlackInputBlockElement
source§fn from(element: SlackBlockCheckboxesElement) -> Self
fn from(element: SlackBlockCheckboxesElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockConversationsSelectElement> for SlackInputBlockElement
impl From<SlackBlockConversationsSelectElement> for SlackInputBlockElement
source§fn from(element: SlackBlockConversationsSelectElement) -> Self
fn from(element: SlackBlockConversationsSelectElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockDatePickerElement> for SlackInputBlockElement
impl From<SlackBlockDatePickerElement> for SlackInputBlockElement
source§fn from(element: SlackBlockDatePickerElement) -> Self
fn from(element: SlackBlockDatePickerElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockDateTimePickerElement> for SlackInputBlockElement
impl From<SlackBlockDateTimePickerElement> for SlackInputBlockElement
source§fn from(element: SlackBlockDateTimePickerElement) -> Self
fn from(element: SlackBlockDateTimePickerElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockEmailInputElement> for SlackInputBlockElement
impl From<SlackBlockEmailInputElement> for SlackInputBlockElement
source§fn from(element: SlackBlockEmailInputElement) -> Self
fn from(element: SlackBlockEmailInputElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockExternalSelectElement> for SlackInputBlockElement
impl From<SlackBlockExternalSelectElement> for SlackInputBlockElement
source§fn from(element: SlackBlockExternalSelectElement) -> Self
fn from(element: SlackBlockExternalSelectElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockMultiChannelsSelectElement> for SlackInputBlockElement
impl From<SlackBlockMultiChannelsSelectElement> for SlackInputBlockElement
source§fn from(element: SlackBlockMultiChannelsSelectElement) -> Self
fn from(element: SlackBlockMultiChannelsSelectElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockMultiConversationsSelectElement> for SlackInputBlockElement
impl From<SlackBlockMultiConversationsSelectElement> for SlackInputBlockElement
source§fn from(element: SlackBlockMultiConversationsSelectElement) -> Self
fn from(element: SlackBlockMultiConversationsSelectElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockMultiExternalSelectElement> for SlackInputBlockElement
impl From<SlackBlockMultiExternalSelectElement> for SlackInputBlockElement
source§fn from(element: SlackBlockMultiExternalSelectElement) -> Self
fn from(element: SlackBlockMultiExternalSelectElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockMultiStaticSelectElement> for SlackInputBlockElement
impl From<SlackBlockMultiStaticSelectElement> for SlackInputBlockElement
source§fn from(element: SlackBlockMultiStaticSelectElement) -> Self
fn from(element: SlackBlockMultiStaticSelectElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockMultiUsersSelectElement> for SlackInputBlockElement
impl From<SlackBlockMultiUsersSelectElement> for SlackInputBlockElement
source§fn from(element: SlackBlockMultiUsersSelectElement) -> Self
fn from(element: SlackBlockMultiUsersSelectElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockNumberInputElement> for SlackInputBlockElement
impl From<SlackBlockNumberInputElement> for SlackInputBlockElement
source§fn from(element: SlackBlockNumberInputElement) -> Self
fn from(element: SlackBlockNumberInputElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockPlainTextInputElement> for SlackInputBlockElement
impl From<SlackBlockPlainTextInputElement> for SlackInputBlockElement
source§fn from(element: SlackBlockPlainTextInputElement) -> Self
fn from(element: SlackBlockPlainTextInputElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockRadioButtonsElement> for SlackInputBlockElement
impl From<SlackBlockRadioButtonsElement> for SlackInputBlockElement
source§fn from(element: SlackBlockRadioButtonsElement) -> Self
fn from(element: SlackBlockRadioButtonsElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockStaticSelectElement> for SlackInputBlockElement
impl From<SlackBlockStaticSelectElement> for SlackInputBlockElement
source§fn from(element: SlackBlockStaticSelectElement) -> Self
fn from(element: SlackBlockStaticSelectElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockUrlInputElement> for SlackInputBlockElement
impl From<SlackBlockUrlInputElement> for SlackInputBlockElement
source§fn from(element: SlackBlockUrlInputElement) -> Self
fn from(element: SlackBlockUrlInputElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockUsersSelectElement> for SlackInputBlockElement
impl From<SlackBlockUsersSelectElement> for SlackInputBlockElement
source§fn from(element: SlackBlockUsersSelectElement) -> Self
fn from(element: SlackBlockUsersSelectElement) -> Self
Converts to this type from the input type.
source§impl PartialEq<SlackInputBlockElement> for SlackInputBlockElement
impl PartialEq<SlackInputBlockElement> for SlackInputBlockElement
source§fn eq(&self, other: &SlackInputBlockElement) -> bool
fn eq(&self, other: &SlackInputBlockElement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.