Skip to main content

euv_ui/component/questionnaire/view/
enum.rs

1use super::*;
2
3/// The kind of answer a choice accepts.
4///
5/// The reference publishes two: the choice that takes one answer out of
6/// a list, and the choice that can be ticked on its own.
7#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
8pub enum EuvQuestionnaireChoiceType {
9    /// The choice takes one answer out of the list.
10    #[default]
11    Radio,
12    /// The choice can be ticked on its own.
13    Checkbox,
14}