pub enum ApplicationCommandInteractionDataOption {
Subcommand(Subcommand),
SubcommandGroup(SubcommandGroup),
String(StringOption),
Integer(IntegerOption),
Boolean(BooleanOption),
User(SnowflakeOption),
Channel(SnowflakeOption),
Role(SnowflakeOption),
Mentionable(SnowflakeOption),
Number(NumberOption),
Attachment,
}
Expand description
Variants§
Subcommand(Subcommand)
SubcommandGroup(SubcommandGroup)
String(StringOption)
Integer(IntegerOption)
Boolean(BooleanOption)
User(SnowflakeOption)
Channel(SnowflakeOption)
Role(SnowflakeOption)
Mentionable(SnowflakeOption)
Number(NumberOption)
Attachment
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ApplicationCommandInteractionDataOption
impl<'de> Deserialize<'de> for ApplicationCommandInteractionDataOption
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ApplicationCommandInteractionDataOption
impl RefUnwindSafe for ApplicationCommandInteractionDataOption
impl Send for ApplicationCommandInteractionDataOption
impl Sync for ApplicationCommandInteractionDataOption
impl Unpin for ApplicationCommandInteractionDataOption
impl UnwindSafe for ApplicationCommandInteractionDataOption
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more