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