[][src]Enum slack_blocks::block_elements::BlockElement

pub enum BlockElement {
    Button(Button),
    Checkboxes,
    DatePicker,
    Image,
    MultiSelect,
    OverflowMenu,
    Select(Contents),
    PlainInput,
    RadioButtons,
}

Block Elements - interactive components

slack api docs 🔗

Block elements can be used inside of section, context, and actions layout blocks 🔗. Inputs can only be used inside of input blocks.

Our overview of app surfaces that support Block Kit 🔗 shows you where those blocks might be relevant.

Finally, our handling user interactivity guide 🔗 will help you prepare your app to allow for the use of the interactive components listed below.

Variants

Button(Button)
Checkboxes
DatePicker
Image
MultiSelect
OverflowMenu
Select(Contents)
PlainInput
RadioButtons

Implementations

impl BlockElement[src]

Trait Implementations

impl Clone for BlockElement[src]

impl Debug for BlockElement[src]

impl<'de> Deserialize<'de> for BlockElement[src]

impl From<Contents> for BlockElement[src]

impl Hash for BlockElement[src]

impl PartialEq<BlockElement> for BlockElement[src]

impl Serialize for BlockElement[src]

impl StructuralPartialEq for BlockElement[src]

impl TryFrom<BlockElement> for BlockElement[src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.