pub enum ComponentInteractionDataKind {
Button,
StringSelect {
values: Vec<String>,
},
UserSelect {
values: Vec<UserId>,
},
RoleSelect {
values: Vec<RoleId>,
},
MentionableSelect {
values: Vec<GenericId>,
},
ChannelSelect {
values: Vec<ChannelId>,
},
Unknown(u8),
}
Variants§
Trait Implementations§
Source§impl Clone for ComponentInteractionDataKind
impl Clone for ComponentInteractionDataKind
Source§fn clone(&self) -> ComponentInteractionDataKind
fn clone(&self) -> ComponentInteractionDataKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ComponentInteractionDataKind
impl Debug for ComponentInteractionDataKind
Source§impl<'de> Deserialize<'de> for ComponentInteractionDataKind
impl<'de> Deserialize<'de> for ComponentInteractionDataKind
Source§fn deserialize<D: Deserializer<'de>>(
deserializer: D,
) -> StdResult<Self, D::Error>
fn deserialize<D: Deserializer<'de>>( deserializer: D, ) -> StdResult<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ComponentInteractionDataKind
impl RefUnwindSafe for ComponentInteractionDataKind
impl Send for ComponentInteractionDataKind
impl Sync for ComponentInteractionDataKind
impl Unpin for ComponentInteractionDataKind
impl UnwindSafe for ComponentInteractionDataKind
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