Expand description
Represents a PollAnswer
.
Fields§
§poll_id: String
The ID of the poll.
user: User
The user who voted.
option_ids: Vec<usize>
The index of options choosen by user.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Answer
impl<'de> Deserialize<'de> for Answer
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