#[non_exhaustive]pub struct MessageReactionRemoveEmoji {
pub channel_id: ChannelId,
pub guild_id: Option<GuildId>,
pub message_id: MessageId,
pub emoji: PartialEmoji,
}Expand description
The data of the Message Reaction Remove Emoji dispatch event: all reactions with one emoji were removed.
discord.js counterpart: the MessageReactionRemoveEmoji event.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.channel_id: ChannelIdThe message’s channel.
guild_id: Option<GuildId>The message’s guild.
message_id: MessageIdThe message.
emoji: PartialEmojiThe removed emoji.
Trait Implementations§
Source§impl Clone for MessageReactionRemoveEmoji
impl Clone for MessageReactionRemoveEmoji
Source§impl Debug for MessageReactionRemoveEmoji
impl Debug for MessageReactionRemoveEmoji
Source§impl<'de> Deserialize<'de> for MessageReactionRemoveEmoji
impl<'de> Deserialize<'de> for MessageReactionRemoveEmoji
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
impl Eq for MessageReactionRemoveEmoji
impl StructuralPartialEq for MessageReactionRemoveEmoji
Auto Trait Implementations§
impl Freeze for MessageReactionRemoveEmoji
impl RefUnwindSafe for MessageReactionRemoveEmoji
impl Send for MessageReactionRemoveEmoji
impl Sync for MessageReactionRemoveEmoji
impl Unpin for MessageReactionRemoveEmoji
impl UnsafeUnpin for MessageReactionRemoveEmoji
impl UnwindSafe for MessageReactionRemoveEmoji
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