pub struct ForumPollVote {
pub answer: String,
pub votes: i32,
}
Fields§
§answer: String
§votes: i32
Trait Implementations§
Source§impl Clone for ForumPollVote
impl Clone for ForumPollVote
Source§fn clone(&self) -> ForumPollVote
fn clone(&self) -> ForumPollVote
Returns a copy of the value. Read more
1.0.0 · 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 ForumPollVote
impl Debug for ForumPollVote
Source§impl<'de> Deserialize<'de> for ForumPollVote
impl<'de> Deserialize<'de> for ForumPollVote
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
Source§impl PartialEq for ForumPollVote
impl PartialEq for ForumPollVote
impl StructuralPartialEq for ForumPollVote
Auto Trait Implementations§
impl Freeze for ForumPollVote
impl RefUnwindSafe for ForumPollVote
impl Send for ForumPollVote
impl Sync for ForumPollVote
impl Unpin for ForumPollVote
impl UnwindSafe for ForumPollVote
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