#[non_exhaustive]pub struct EvaluationFormSingleSelectQuestionAutomation {
pub options: Vec<EvaluationFormSingleSelectQuestionAutomationOption>,
pub default_option_ref_id: Option<String>,
}
Expand description
Information about the automation configuration in single select questions. Automation options are evaluated in order, and the first matched option is applied. If no automation option matches, and there is a default option, then the default option is applied.
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.options: Vec<EvaluationFormSingleSelectQuestionAutomationOption>
The automation options of the single select question.
default_option_ref_id: Option<String>
The identifier of the default answer option, when none of the automation options match the criteria.
Implementations§
source§impl EvaluationFormSingleSelectQuestionAutomation
impl EvaluationFormSingleSelectQuestionAutomation
sourcepub fn options(&self) -> &[EvaluationFormSingleSelectQuestionAutomationOption]
pub fn options(&self) -> &[EvaluationFormSingleSelectQuestionAutomationOption]
The automation options of the single select question.
sourcepub fn default_option_ref_id(&self) -> Option<&str>
pub fn default_option_ref_id(&self) -> Option<&str>
The identifier of the default answer option, when none of the automation options match the criteria.
source§impl EvaluationFormSingleSelectQuestionAutomation
impl EvaluationFormSingleSelectQuestionAutomation
sourcepub fn builder() -> EvaluationFormSingleSelectQuestionAutomationBuilder
pub fn builder() -> EvaluationFormSingleSelectQuestionAutomationBuilder
Creates a new builder-style object to manufacture EvaluationFormSingleSelectQuestionAutomation
.
Trait Implementations§
source§impl Clone for EvaluationFormSingleSelectQuestionAutomation
impl Clone for EvaluationFormSingleSelectQuestionAutomation
source§fn clone(&self) -> EvaluationFormSingleSelectQuestionAutomation
fn clone(&self) -> EvaluationFormSingleSelectQuestionAutomation
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 EvaluationFormSingleSelectQuestionAutomation
impl PartialEq for EvaluationFormSingleSelectQuestionAutomation
source§fn eq(&self, other: &EvaluationFormSingleSelectQuestionAutomation) -> bool
fn eq(&self, other: &EvaluationFormSingleSelectQuestionAutomation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluationFormSingleSelectQuestionAutomation
Auto Trait Implementations§
impl RefUnwindSafe for EvaluationFormSingleSelectQuestionAutomation
impl Send for EvaluationFormSingleSelectQuestionAutomation
impl Sync for EvaluationFormSingleSelectQuestionAutomation
impl Unpin for EvaluationFormSingleSelectQuestionAutomation
impl UnwindSafe for EvaluationFormSingleSelectQuestionAutomation
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.