pub struct PollAnswerCount {
pub id: u32,
pub count: u32,
pub me_voted: bool,
}Expand description
Votes for one answer
Fields§
§id: u32The answer’s answer_id
count: u32How many users voted for it
me_voted: boolWhether the bot voted for it
Trait Implementations§
Source§impl Clone for PollAnswerCount
impl Clone for PollAnswerCount
Source§impl Debug for PollAnswerCount
impl Debug for PollAnswerCount
Source§impl<'de> Deserialize<'de> for PollAnswerCount
impl<'de> Deserialize<'de> for PollAnswerCount
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 PollAnswerCount
impl RefUnwindSafe for PollAnswerCount
impl Send for PollAnswerCount
impl Sync for PollAnswerCount
impl Unpin for PollAnswerCount
impl UnsafeUnpin for PollAnswerCount
impl UnwindSafe for PollAnswerCount
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