pub enum InputElement {
Show 21 variants
Checkboxes(Box<Checkboxes>),
DatePicker(Box<DatePicker>),
DatetimePicker(Box<DatetimePicker>),
EmailInput(Box<EmailInput>),
FileInput(Box<FileInput>),
MultiSelectMenuStaticOptions(Box<MultiSelectMenuStaticOptions>),
MultiSelectMenuExternalDataSource(Box<MultiSelectMenuExternalDataSource>),
MultiSelectMenuUsers(Box<MultiSelectMenuUsers>),
MultiSelectMenuConversations(Box<MultiSelectMenuConversations>),
MultiSelectMenuPublicChannels(Box<MultiSelectMenuPublicChannels>),
NumberInput(Box<NumberInput>),
PlainTextInput(Box<PlainTextInput>),
RadioButtonGroup(Box<RadioButtonGroup>),
RichTextInput(Box<RichTextInput>),
SelectMenuStaticOptions(Box<SelectMenuStaticOptions>),
SelectMenuExternalDataSource(Box<SelectMenuExternalDataSource>),
SelectMenuUsers(Box<SelectMenuUsers>),
SelectMenuConversations(Box<SelectMenuConversations>),
SelectMenuPublicChannels(Box<SelectMenuPublicChannels>),
TimePicker(Box<TimePicker>),
UrlInput(Box<UrlInput>),
}Expand description
Objects that can be an element of the Input’s element field.
Variants§
Checkboxes(Box<Checkboxes>)
Checkbox group representation
DatePicker(Box<DatePicker>)
Date picker element representation
DatetimePicker(Box<DatetimePicker>)
Datetime picker element representation
EmailInput(Box<EmailInput>)
Email input element representation
FileInput(Box<FileInput>)
File input element representation
MultiSelectMenuStaticOptions(Box<MultiSelectMenuStaticOptions>)
Multi select menu of static options representation
MultiSelectMenuExternalDataSource(Box<MultiSelectMenuExternalDataSource>)
Multi select menu of external data source representation
MultiSelectMenuUsers(Box<MultiSelectMenuUsers>)
Multi select menu of users representation
MultiSelectMenuConversations(Box<MultiSelectMenuConversations>)
Multi select menu of conversations representation
MultiSelectMenuPublicChannels(Box<MultiSelectMenuPublicChannels>)
Multi select menu of public channels representation
NumberInput(Box<NumberInput>)
Number input element representation
PlainTextInput(Box<PlainTextInput>)
Plain-text input element representation
RadioButtonGroup(Box<RadioButtonGroup>)
Radio buton group element representation
RichTextInput(Box<RichTextInput>)
Rich text input element representation
SelectMenuStaticOptions(Box<SelectMenuStaticOptions>)
Select menu of static options representation
SelectMenuExternalDataSource(Box<SelectMenuExternalDataSource>)
Select menu of external data source representation
SelectMenuUsers(Box<SelectMenuUsers>)
Select menu of users representation
SelectMenuConversations(Box<SelectMenuConversations>)
Select menu of conversations representation
SelectMenuPublicChannels(Box<SelectMenuPublicChannels>)
Select menu of public channels representation
TimePicker(Box<TimePicker>)
Time picker element representation
UrlInput(Box<UrlInput>)
URL input element representation
Trait Implementations§
Source§impl Clone for InputElement
impl Clone for InputElement
Source§fn clone(&self) -> InputElement
fn clone(&self) -> InputElement
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InputElement
impl Debug for InputElement
Source§impl From<Checkboxes> for InputElement
impl From<Checkboxes> for InputElement
Source§fn from(value: Checkboxes) -> Self
fn from(value: Checkboxes) -> Self
Source§impl From<DatePicker> for InputElement
impl From<DatePicker> for InputElement
Source§fn from(value: DatePicker) -> Self
fn from(value: DatePicker) -> Self
Source§impl From<DatetimePicker> for InputElement
impl From<DatetimePicker> for InputElement
Source§fn from(value: DatetimePicker) -> Self
fn from(value: DatetimePicker) -> Self
Source§impl From<EmailInput> for InputElement
impl From<EmailInput> for InputElement
Source§fn from(value: EmailInput) -> Self
fn from(value: EmailInput) -> Self
Source§impl From<FileInput> for InputElement
impl From<FileInput> for InputElement
Source§impl From<MultiSelectMenuConversations> for InputElement
impl From<MultiSelectMenuConversations> for InputElement
Source§fn from(value: MultiSelectMenuConversations) -> Self
fn from(value: MultiSelectMenuConversations) -> Self
Source§impl From<MultiSelectMenuExternalDataSource> for InputElement
impl From<MultiSelectMenuExternalDataSource> for InputElement
Source§fn from(value: MultiSelectMenuExternalDataSource) -> Self
fn from(value: MultiSelectMenuExternalDataSource) -> Self
Source§impl From<MultiSelectMenuPublicChannels> for InputElement
impl From<MultiSelectMenuPublicChannels> for InputElement
Source§fn from(value: MultiSelectMenuPublicChannels) -> Self
fn from(value: MultiSelectMenuPublicChannels) -> Self
Source§impl From<MultiSelectMenuStaticOptions> for InputElement
impl From<MultiSelectMenuStaticOptions> for InputElement
Source§fn from(value: MultiSelectMenuStaticOptions) -> Self
fn from(value: MultiSelectMenuStaticOptions) -> Self
Source§impl From<MultiSelectMenuUsers> for InputElement
impl From<MultiSelectMenuUsers> for InputElement
Source§fn from(value: MultiSelectMenuUsers) -> Self
fn from(value: MultiSelectMenuUsers) -> Self
Source§impl From<NumberInput> for InputElement
impl From<NumberInput> for InputElement
Source§fn from(value: NumberInput) -> Self
fn from(value: NumberInput) -> Self
Source§impl From<PlainTextInput> for InputElement
impl From<PlainTextInput> for InputElement
Source§fn from(value: PlainTextInput) -> Self
fn from(value: PlainTextInput) -> Self
Source§impl From<RadioButtonGroup> for InputElement
impl From<RadioButtonGroup> for InputElement
Source§fn from(value: RadioButtonGroup) -> Self
fn from(value: RadioButtonGroup) -> Self
Source§impl From<RichTextInput> for InputElement
impl From<RichTextInput> for InputElement
Source§fn from(value: RichTextInput) -> Self
fn from(value: RichTextInput) -> Self
Source§impl From<SelectMenuConversations> for InputElement
impl From<SelectMenuConversations> for InputElement
Source§fn from(value: SelectMenuConversations) -> Self
fn from(value: SelectMenuConversations) -> Self
Source§impl From<SelectMenuExternalDataSource> for InputElement
impl From<SelectMenuExternalDataSource> for InputElement
Source§fn from(value: SelectMenuExternalDataSource) -> Self
fn from(value: SelectMenuExternalDataSource) -> Self
Source§impl From<SelectMenuPublicChannels> for InputElement
impl From<SelectMenuPublicChannels> for InputElement
Source§fn from(value: SelectMenuPublicChannels) -> Self
fn from(value: SelectMenuPublicChannels) -> Self
Source§impl From<SelectMenuStaticOptions> for InputElement
impl From<SelectMenuStaticOptions> for InputElement
Source§fn from(value: SelectMenuStaticOptions) -> Self
fn from(value: SelectMenuStaticOptions) -> Self
Source§impl From<SelectMenuUsers> for InputElement
impl From<SelectMenuUsers> for InputElement
Source§fn from(value: SelectMenuUsers) -> Self
fn from(value: SelectMenuUsers) -> Self
Source§impl From<TimePicker> for InputElement
impl From<TimePicker> for InputElement
Source§fn from(value: TimePicker) -> Self
fn from(value: TimePicker) -> Self
Source§impl From<UrlInput> for InputElement
impl From<UrlInput> for InputElement
Source§impl PartialEq for InputElement
impl PartialEq for InputElement
Source§fn eq(&self, other: &InputElement) -> bool
fn eq(&self, other: &InputElement) -> bool
self and other values to be equal, and is used by ==.