Skip to main content

ModalInteractionMentionableSelect

Type Alias ModalInteractionMentionableSelect 

Source
pub type ModalInteractionMentionableSelect = ModalInteractionSelectMenu<Id<GenericMarker>>;
Expand description

Aliased Type§

pub struct ModalInteractionMentionableSelect {
    pub id: i32,
    pub custom_id: String,
    pub values: Vec<Id<GenericMarker>>,
}

Fields§

§id: i32

Unique identifier for the component.

§custom_id: String

User defined identifier for the component.

See Discord Docs/Custom ID.

§values: Vec<Id<GenericMarker>>

The selected values.

Trait Implementations§

Source§

impl TryFrom<ModalInteractionComponent> for ModalInteractionMentionableSelect

Source§

type Error = ModalInteractionComponent

The type returned in the event of a conversion error.
Source§

fn try_from(value: ModalInteractionComponent) -> Result<Self, Self::Error>

Performs the conversion.