[][src]Enum slack_blocks::block_elements::select::Contents

pub enum Contents {
    Static(Static),
    External(External),
    User(User),
    Conversation(Conversation),
    Channel(Channel),
}

Select Menu Element

A select menu, just as with a standard HTML <select> tag, creates a drop down menu with a list of options for a user to choose.

The select menu also includes type-ahead functionality, where a user can type a part or all of an option string to filter the list.

To use interactive components, you will need to make some changes to prepare your app. Read our guide to enabling interactivity 🔗.

Variants

Static(Static)
External(External)
User(User)
Conversation(Conversation)
Channel(Channel)

Trait Implementations

impl Clone for Contents[src]

impl Debug for Contents[src]

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

impl From<Channel> for Contents[src]

impl From<Conversation> for Contents[src]

impl From<External> for Contents[src]

impl From<Static> for Contents[src]

impl From<User> for Contents[src]

impl Hash for Contents[src]

impl PartialEq<Contents> for Contents[src]

impl Serialize for Contents[src]

impl StructuralPartialEq for Contents[src]

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.