add: polls
This commit is contained in:
parent
4dfa09207e
commit
6555324650
29 changed files with 339 additions and 56 deletions
|
@ -425,7 +425,7 @@ impl Poll {
|
|||
/// Poll option (selectors) are stored in the database as numbers 0 to 3.
|
||||
///
|
||||
/// This enum allows us to convert from these numbers into letters.
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
|
||||
pub enum PollOption {
|
||||
A,
|
||||
B,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue