pub struct PollVotePayload {
pub event_id: String,
pub option_ids: Vec<String>,
}Fields§
§event_id: String§option_ids: Vec<String>Trait Implementations§
Source§impl Clone for PollVotePayload
impl Clone for PollVotePayload
Source§fn clone(&self) -> PollVotePayload
fn clone(&self) -> PollVotePayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PollVotePayload
impl Debug for PollVotePayload
Source§impl<'de> Deserialize<'de> for PollVotePayload
impl<'de> Deserialize<'de> for PollVotePayload
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 PollVotePayload
Source§impl PartialEq for PollVotePayload
impl PartialEq for PollVotePayload
Source§fn eq(&self, other: &PollVotePayload) -> bool
fn eq(&self, other: &PollVotePayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PollVotePayload
impl Serialize for PollVotePayload
impl StructuralPartialEq for PollVotePayload
Auto Trait Implementations§
impl Freeze for PollVotePayload
impl RefUnwindSafe for PollVotePayload
impl Send for PollVotePayload
impl Sync for PollVotePayload
impl Unpin for PollVotePayload
impl UnsafeUnpin for PollVotePayload
impl UnwindSafe for PollVotePayload
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