#[non_exhaustive]pub struct MessagePollVoteRemove {
pub user_id: UserId,
pub channel_id: ChannelId,
pub message_id: MessageId,
pub guild_id: Option<GuildId>,
pub answer_id: u32,
}Expand description
The data of the Message Poll Vote Remove dispatch event (one event per answer for multiselect polls).
discord.js counterpart: the MessagePollVoteRemove 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.user_id: UserIdThe user who removed the vote.
channel_id: ChannelIdThe poll message’s channel.
message_id: MessageIdThe poll message.
guild_id: Option<GuildId>The poll message’s guild.
answer_id: u32The answer the vote was removed from.
Trait Implementations§
Source§impl Clone for MessagePollVoteRemove
impl Clone for MessagePollVoteRemove
Source§impl Debug for MessagePollVoteRemove
impl Debug for MessagePollVoteRemove
Source§impl<'de> Deserialize<'de> for MessagePollVoteRemove
impl<'de> Deserialize<'de> for MessagePollVoteRemove
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 MessagePollVoteRemove
Source§impl Hash for MessagePollVoteRemove
impl Hash for MessagePollVoteRemove
Source§impl PartialEq for MessagePollVoteRemove
impl PartialEq for MessagePollVoteRemove
Source§impl Serialize for MessagePollVoteRemove
impl Serialize for MessagePollVoteRemove
impl StructuralPartialEq for MessagePollVoteRemove
Auto Trait Implementations§
impl Forget for MessagePollVoteRemove
impl Freeze for MessagePollVoteRemove
impl Move for MessagePollVoteRemove
impl RefUnwindSafe for MessagePollVoteRemove
impl Send for MessagePollVoteRemove
impl Sync for MessagePollVoteRemove
impl Unpin for MessagePollVoteRemove
impl UnsafeUnpin for MessagePollVoteRemove
impl UnwindSafe for MessagePollVoteRemove
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