pub enum SlackActionBlockElement {
Show 15 variants
Button(SlackBlockButtonElement),
Overflow(SlackBlockOverflowElement),
DatePicker(SlackBlockDatePickerElement),
TimePicker(SlackBlockTimePickerElement),
DateTimePicker(SlackBlockDateTimePickerElement),
PlainTextInput(SlackBlockPlainTextInputElement),
NumberInput(SlackBlockNumberInputElement),
UrlInput(SlackBlockUrlInputElement),
RadioButtons(SlackBlockRadioButtonsElement),
Checkboxes(SlackBlockCheckboxesElement),
StaticSelect(SlackBlockStaticSelectElement),
ExternalSelect(SlackBlockExternalSelectElement),
UsersSelect(SlackBlockUsersSelectElement),
ConversationsSelect(SlackBlockConversationsSelectElement),
ChannelsSelect(SlackBlockChannelsSelectElement),
}
Variants§
Button(SlackBlockButtonElement)
Overflow(SlackBlockOverflowElement)
DatePicker(SlackBlockDatePickerElement)
TimePicker(SlackBlockTimePickerElement)
DateTimePicker(SlackBlockDateTimePickerElement)
PlainTextInput(SlackBlockPlainTextInputElement)
NumberInput(SlackBlockNumberInputElement)
UrlInput(SlackBlockUrlInputElement)
RadioButtons(SlackBlockRadioButtonsElement)
Checkboxes(SlackBlockCheckboxesElement)
StaticSelect(SlackBlockStaticSelectElement)
ExternalSelect(SlackBlockExternalSelectElement)
UsersSelect(SlackBlockUsersSelectElement)
ConversationsSelect(SlackBlockConversationsSelectElement)
ChannelsSelect(SlackBlockChannelsSelectElement)
Trait Implementations§
source§impl Clone for SlackActionBlockElement
impl Clone for SlackActionBlockElement
source§fn clone(&self) -> SlackActionBlockElement
fn clone(&self) -> SlackActionBlockElement
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 SlackActionBlockElement
impl Debug for SlackActionBlockElement
source§impl<'de> Deserialize<'de> for SlackActionBlockElement
impl<'de> Deserialize<'de> for SlackActionBlockElement
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 SlackActionBlockElement
impl From<SlackBlockButtonElement> for SlackActionBlockElement
source§fn from(element: SlackBlockButtonElement) -> Self
fn from(element: SlackBlockButtonElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockChannelsSelectElement> for SlackActionBlockElement
impl From<SlackBlockChannelsSelectElement> for SlackActionBlockElement
source§fn from(element: SlackBlockChannelsSelectElement) -> Self
fn from(element: SlackBlockChannelsSelectElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockCheckboxesElement> for SlackActionBlockElement
impl From<SlackBlockCheckboxesElement> for SlackActionBlockElement
source§fn from(element: SlackBlockCheckboxesElement) -> Self
fn from(element: SlackBlockCheckboxesElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockConversationsSelectElement> for SlackActionBlockElement
impl From<SlackBlockConversationsSelectElement> for SlackActionBlockElement
source§fn from(element: SlackBlockConversationsSelectElement) -> Self
fn from(element: SlackBlockConversationsSelectElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockDatePickerElement> for SlackActionBlockElement
impl From<SlackBlockDatePickerElement> for SlackActionBlockElement
source§fn from(element: SlackBlockDatePickerElement) -> Self
fn from(element: SlackBlockDatePickerElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockDateTimePickerElement> for SlackActionBlockElement
impl From<SlackBlockDateTimePickerElement> for SlackActionBlockElement
source§fn from(element: SlackBlockDateTimePickerElement) -> Self
fn from(element: SlackBlockDateTimePickerElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockExternalSelectElement> for SlackActionBlockElement
impl From<SlackBlockExternalSelectElement> for SlackActionBlockElement
source§fn from(element: SlackBlockExternalSelectElement) -> Self
fn from(element: SlackBlockExternalSelectElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockNumberInputElement> for SlackActionBlockElement
impl From<SlackBlockNumberInputElement> for SlackActionBlockElement
source§fn from(element: SlackBlockNumberInputElement) -> Self
fn from(element: SlackBlockNumberInputElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockOverflowElement> for SlackActionBlockElement
impl From<SlackBlockOverflowElement> for SlackActionBlockElement
source§fn from(element: SlackBlockOverflowElement) -> Self
fn from(element: SlackBlockOverflowElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockPlainTextInputElement> for SlackActionBlockElement
impl From<SlackBlockPlainTextInputElement> for SlackActionBlockElement
source§fn from(element: SlackBlockPlainTextInputElement) -> Self
fn from(element: SlackBlockPlainTextInputElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockRadioButtonsElement> for SlackActionBlockElement
impl From<SlackBlockRadioButtonsElement> for SlackActionBlockElement
source§fn from(element: SlackBlockRadioButtonsElement) -> Self
fn from(element: SlackBlockRadioButtonsElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockStaticSelectElement> for SlackActionBlockElement
impl From<SlackBlockStaticSelectElement> for SlackActionBlockElement
source§fn from(element: SlackBlockStaticSelectElement) -> Self
fn from(element: SlackBlockStaticSelectElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockTimePickerElement> for SlackActionBlockElement
impl From<SlackBlockTimePickerElement> for SlackActionBlockElement
source§fn from(element: SlackBlockTimePickerElement) -> Self
fn from(element: SlackBlockTimePickerElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockUrlInputElement> for SlackActionBlockElement
impl From<SlackBlockUrlInputElement> for SlackActionBlockElement
source§fn from(element: SlackBlockUrlInputElement) -> Self
fn from(element: SlackBlockUrlInputElement) -> Self
Converts to this type from the input type.
source§impl From<SlackBlockUsersSelectElement> for SlackActionBlockElement
impl From<SlackBlockUsersSelectElement> for SlackActionBlockElement
source§fn from(element: SlackBlockUsersSelectElement) -> Self
fn from(element: SlackBlockUsersSelectElement) -> Self
Converts to this type from the input type.
source§impl PartialEq for SlackActionBlockElement
impl PartialEq for SlackActionBlockElement
source§fn eq(&self, other: &SlackActionBlockElement) -> bool
fn eq(&self, other: &SlackActionBlockElement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SlackActionBlockElement
impl Serialize for SlackActionBlockElement
impl StructuralPartialEq for SlackActionBlockElement
Auto Trait Implementations§
impl RefUnwindSafe for SlackActionBlockElement
impl Send for SlackActionBlockElement
impl Sync for SlackActionBlockElement
impl Unpin for SlackActionBlockElement
impl UnwindSafe for SlackActionBlockElement
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