pub type ModalInteractionRoleSelect = ModalInteractionSelectMenu<Id<RoleMarker>>;Expand description
User filled in Role Select.
See Discord Docs/Role Select Interaction Response Structure.
Aliased Type§
pub struct ModalInteractionRoleSelect {
pub id: i32,
pub custom_id: String,
pub values: Vec<Id<RoleMarker>>,
}Fields§
§id: i32Unique identifier for the component.
custom_id: StringUser defined identifier for the component.
values: Vec<Id<RoleMarker>>The selected values.
Trait Implementations§
Source§impl TryFrom<ModalInteractionComponent> for ModalInteractionRoleSelect
impl TryFrom<ModalInteractionComponent> for ModalInteractionRoleSelect
Source§type Error = ModalInteractionComponent
type Error = ModalInteractionComponent
The type returned in the event of a conversion error.