pub enum QuestionType {
    All,
    Multiple,
    Boolean,
}
Expand description

The Question Type is what describes what sort of question type this is.

The “Multiple” question type will give multiple-choice questions, where there is one correct answer and multiple incorrect ones.

The “Boolean” question type will give you true/false questions.

Variants

All

Do not filter question types

Multiple

Filter by Multiple Choice questions

Boolean

Filter by true/false questions

Implementations

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.