pub enum BotVotes {
Ids(Vec<u64>),
Users(Vec<DiscordUser>),
}Expand description
Information about who has voted for a bot.
Variants§
Ids(Vec<u64>)
A list of IDs of the Discord users who have voted for a bot.
Users(Vec<DiscordUser>)
A list of user objects of the Discord users who have voted for a bot.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BotVotes
impl<'de> Deserialize<'de> for BotVotes
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 BotVotes
impl RefUnwindSafe for BotVotes
impl Send for BotVotes
impl Sync for BotVotes
impl Unpin for BotVotes
impl UnwindSafe for BotVotes
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