Struct frankenstein::objects::PollAnswer
source · [−]Fields
poll_id: String
user: User
option_ids: Vec<u8>
Implementations
Trait Implementations
sourceimpl Clone for PollAnswer
impl Clone for PollAnswer
sourcefn clone(&self) -> PollAnswer
fn clone(&self) -> PollAnswer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PollAnswer
impl Debug for PollAnswer
sourceimpl<'de> Deserialize<'de> for PollAnswer
impl<'de> Deserialize<'de> for PollAnswer
sourcefn 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
sourceimpl PartialEq<PollAnswer> for PollAnswer
impl PartialEq<PollAnswer> for PollAnswer
sourcefn eq(&self, other: &PollAnswer) -> bool
fn eq(&self, other: &PollAnswer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PollAnswer) -> bool
fn ne(&self, other: &PollAnswer) -> bool
This method tests for !=
.
sourceimpl Serialize for PollAnswer
impl Serialize for PollAnswer
impl StructuralPartialEq for PollAnswer
Auto Trait Implementations
impl RefUnwindSafe for PollAnswer
impl Send for PollAnswer
impl Sync for PollAnswer
impl Unpin for PollAnswer
impl UnwindSafe for PollAnswer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more