pub struct PollVote {
pub voter: String,
pub option_id: PollOptionID,
}Expand description
Represents a vote in a Poll
Fields§
§voter: StringThe handle of the voter
option_id: PollOptionIDThe ID of the option being voted on
Trait Implementations§
impl Eq for PollVote
impl StructuralPartialEq for PollVote
Auto Trait Implementations§
impl Freeze for PollVote
impl RefUnwindSafe for PollVote
impl Send for PollVote
impl Sync for PollVote
impl Unpin for PollVote
impl UnwindSafe for PollVote
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.