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§impl Serialize for SlackActionBlockElement
impl Serialize for SlackActionBlockElement
impl StructuralPartialEq for SlackActionBlockElement
Auto Trait Implementations§
impl Freeze for SlackActionBlockElement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)