pub struct ForumPoll {
pub question: String,
pub answers_count: i32,
pub answers: Vec<ForumPollVote>,
}
Fields§
§question: String
§answers_count: i32
§answers: Vec<ForumPollVote>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ForumPoll
impl<'de> Deserialize<'de> for ForumPoll
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 StructuralPartialEq for ForumPoll
Auto Trait Implementations§
impl Freeze for ForumPoll
impl RefUnwindSafe for ForumPoll
impl Send for ForumPoll
impl Sync for ForumPoll
impl Unpin for ForumPoll
impl UnwindSafe for ForumPoll
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