pub enum MultipleChoiceAnswerFormat {
Single(Markdown),
Multi(Vec<Markdown>),
}
Expand description
The type of response for a MultipleChoice
question.
Variants§
Single(Markdown)
There is one correct answer.
Multi(Vec<Markdown>)
There are multiple correct answers, and the user must select each.
Trait Implementations§
Source§impl Debug for MultipleChoiceAnswerFormat
impl Debug for MultipleChoiceAnswerFormat
Source§impl<'de> Deserialize<'de> for MultipleChoiceAnswerFormat
impl<'de> Deserialize<'de> for MultipleChoiceAnswerFormat
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
Auto Trait Implementations§
impl Freeze for MultipleChoiceAnswerFormat
impl RefUnwindSafe for MultipleChoiceAnswerFormat
impl Send for MultipleChoiceAnswerFormat
impl Sync for MultipleChoiceAnswerFormat
impl Unpin for MultipleChoiceAnswerFormat
impl UnwindSafe for MultipleChoiceAnswerFormat
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