pub enum PollType {
Quiz(PollTypeQuiz),
Regular(PollTypeRegular),
// some variants omitted
}
Expand description
Describes the type of a poll
Variants
Quiz(PollTypeQuiz)
Tuple Fields
0: PollTypeQuiz
A poll in quiz mode, which has exactly one correct answer option and can be answered only once
Regular(PollTypeRegular)
Tuple Fields
A regular poll
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PollType
impl UnwindSafe for PollType
Blanket Implementations
Mutably borrows from an owned value. Read more