#[non_exhaustive]pub struct EvaluationFormSingleSelectQuestionProperties {
pub options: Vec<EvaluationFormSingleSelectQuestionOption>,
pub display_as: Option<EvaluationFormSingleSelectQuestionDisplayMode>,
pub automation: Option<EvaluationFormSingleSelectQuestionAutomation>,
}
Expand description
Information about the options 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.options: Vec<EvaluationFormSingleSelectQuestionOption>
The answer options of the single select question.
display_as: Option<EvaluationFormSingleSelectQuestionDisplayMode>
The display mode of the single select question.
automation: Option<EvaluationFormSingleSelectQuestionAutomation>
The display mode of the single select question.
Implementations§
source§impl EvaluationFormSingleSelectQuestionProperties
impl EvaluationFormSingleSelectQuestionProperties
sourcepub fn options(&self) -> &[EvaluationFormSingleSelectQuestionOption]
pub fn options(&self) -> &[EvaluationFormSingleSelectQuestionOption]
The answer options of the single select question.
sourcepub fn display_as(
&self
) -> Option<&EvaluationFormSingleSelectQuestionDisplayMode>
pub fn display_as( &self ) -> Option<&EvaluationFormSingleSelectQuestionDisplayMode>
The display mode of the single select question.
sourcepub fn automation(
&self
) -> Option<&EvaluationFormSingleSelectQuestionAutomation>
pub fn automation( &self ) -> Option<&EvaluationFormSingleSelectQuestionAutomation>
The display mode of the single select question.
source§impl EvaluationFormSingleSelectQuestionProperties
impl EvaluationFormSingleSelectQuestionProperties
sourcepub fn builder() -> EvaluationFormSingleSelectQuestionPropertiesBuilder
pub fn builder() -> EvaluationFormSingleSelectQuestionPropertiesBuilder
Creates a new builder-style object to manufacture EvaluationFormSingleSelectQuestionProperties
.
Trait Implementations§
source§impl Clone for EvaluationFormSingleSelectQuestionProperties
impl Clone for EvaluationFormSingleSelectQuestionProperties
source§fn clone(&self) -> EvaluationFormSingleSelectQuestionProperties
fn clone(&self) -> EvaluationFormSingleSelectQuestionProperties
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 EvaluationFormSingleSelectQuestionProperties
impl PartialEq for EvaluationFormSingleSelectQuestionProperties
source§fn eq(&self, other: &EvaluationFormSingleSelectQuestionProperties) -> bool
fn eq(&self, other: &EvaluationFormSingleSelectQuestionProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluationFormSingleSelectQuestionProperties
Auto Trait Implementations§
impl RefUnwindSafe for EvaluationFormSingleSelectQuestionProperties
impl Send for EvaluationFormSingleSelectQuestionProperties
impl Sync for EvaluationFormSingleSelectQuestionProperties
impl Unpin for EvaluationFormSingleSelectQuestionProperties
impl UnwindSafe for EvaluationFormSingleSelectQuestionProperties
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.