pub struct MessagePollVoteRemove {
pub answer_id: u8,
pub channel_id: Id<ChannelMarker>,
pub guild_id: Option<Id<GuildMarker>>,
pub message_id: Id<MessageMarker>,
pub user_id: Id<UserMarker>,
}
Expand description
Sent when a user removes a vote on a poll. If the poll allows multiple selection, one event will be sent per answer.
Fields§
§answer_id: u8
ID of the answer.
channel_id: Id<ChannelMarker>
ID of the channel.
guild_id: Option<Id<GuildMarker>>
ID of the guild.
message_id: Id<MessageMarker>
ID of the message.
user_id: Id<UserMarker>
ID of the user.
Trait Implementations§
Source§impl Clone for MessagePollVoteRemove
impl Clone for MessagePollVoteRemove
Source§fn clone(&self) -> MessagePollVoteRemove
fn clone(&self) -> MessagePollVoteRemove
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 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
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 Eq for MessagePollVoteRemove
impl StructuralPartialEq for MessagePollVoteRemove
Auto Trait Implementations§
impl Freeze for MessagePollVoteRemove
impl RefUnwindSafe for MessagePollVoteRemove
impl Send for MessagePollVoteRemove
impl Sync for MessagePollVoteRemove
impl Unpin 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