#[non_exhaustive]pub struct EvaluationFormSingleSelectQuestionOption {
pub ref_id: String,
pub text: String,
pub score: i32,
pub automatic_fail: bool,
}
Expand description
Information about the automation configuration in single select questions.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.ref_id: String
The identifier of the answer option. An identifier must be unique within the question.
text: String
The title of the answer option.
score: i32
The score assigned to the answer option.
automatic_fail: bool
The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
Implementations§
source§impl EvaluationFormSingleSelectQuestionOption
impl EvaluationFormSingleSelectQuestionOption
source§impl EvaluationFormSingleSelectQuestionOption
impl EvaluationFormSingleSelectQuestionOption
sourcepub fn builder() -> EvaluationFormSingleSelectQuestionOptionBuilder
pub fn builder() -> EvaluationFormSingleSelectQuestionOptionBuilder
Creates a new builder-style object to manufacture EvaluationFormSingleSelectQuestionOption
.
Trait Implementations§
source§impl Clone for EvaluationFormSingleSelectQuestionOption
impl Clone for EvaluationFormSingleSelectQuestionOption
source§fn clone(&self) -> EvaluationFormSingleSelectQuestionOption
fn clone(&self) -> EvaluationFormSingleSelectQuestionOption
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for EvaluationFormSingleSelectQuestionOption
impl PartialEq for EvaluationFormSingleSelectQuestionOption
source§fn eq(&self, other: &EvaluationFormSingleSelectQuestionOption) -> bool
fn eq(&self, other: &EvaluationFormSingleSelectQuestionOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluationFormSingleSelectQuestionOption
Auto Trait Implementations§
impl RefUnwindSafe for EvaluationFormSingleSelectQuestionOption
impl Send for EvaluationFormSingleSelectQuestionOption
impl Sync for EvaluationFormSingleSelectQuestionOption
impl Unpin for EvaluationFormSingleSelectQuestionOption
impl UnwindSafe for EvaluationFormSingleSelectQuestionOption
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.