#[non_exhaustive]pub struct EvaluationFormNumericQuestionPropertiesBuilder { /* private fields */ }
Expand description
A builder for EvaluationFormNumericQuestionProperties
.
Implementations§
source§impl EvaluationFormNumericQuestionPropertiesBuilder
impl EvaluationFormNumericQuestionPropertiesBuilder
sourcepub fn set_min_value(self, input: Option<i32>) -> Self
pub fn set_min_value(self, input: Option<i32>) -> Self
The minimum answer value.
sourcepub fn get_min_value(&self) -> &Option<i32>
pub fn get_min_value(&self) -> &Option<i32>
The minimum answer value.
sourcepub fn set_max_value(self, input: Option<i32>) -> Self
pub fn set_max_value(self, input: Option<i32>) -> Self
The maximum answer value.
sourcepub fn get_max_value(&self) -> &Option<i32>
pub fn get_max_value(&self) -> &Option<i32>
The maximum answer value.
sourcepub fn options(self, input: EvaluationFormNumericQuestionOption) -> Self
pub fn options(self, input: EvaluationFormNumericQuestionOption) -> Self
Appends an item to options
.
To override the contents of this collection use set_options
.
The scoring options of the numeric question.
sourcepub fn set_options(
self,
input: Option<Vec<EvaluationFormNumericQuestionOption>>
) -> Self
pub fn set_options( self, input: Option<Vec<EvaluationFormNumericQuestionOption>> ) -> Self
The scoring options of the numeric question.
sourcepub fn get_options(&self) -> &Option<Vec<EvaluationFormNumericQuestionOption>>
pub fn get_options(&self) -> &Option<Vec<EvaluationFormNumericQuestionOption>>
The scoring options of the numeric question.
sourcepub fn automation(self, input: EvaluationFormNumericQuestionAutomation) -> Self
pub fn automation(self, input: EvaluationFormNumericQuestionAutomation) -> Self
The automation properties of the numeric question.
sourcepub fn set_automation(
self,
input: Option<EvaluationFormNumericQuestionAutomation>
) -> Self
pub fn set_automation( self, input: Option<EvaluationFormNumericQuestionAutomation> ) -> Self
The automation properties of the numeric question.
sourcepub fn get_automation(&self) -> &Option<EvaluationFormNumericQuestionAutomation>
pub fn get_automation(&self) -> &Option<EvaluationFormNumericQuestionAutomation>
The automation properties of the numeric question.
sourcepub fn build(self) -> EvaluationFormNumericQuestionProperties
pub fn build(self) -> EvaluationFormNumericQuestionProperties
Consumes the builder and constructs a EvaluationFormNumericQuestionProperties
.
Trait Implementations§
source§impl Clone for EvaluationFormNumericQuestionPropertiesBuilder
impl Clone for EvaluationFormNumericQuestionPropertiesBuilder
source§fn clone(&self) -> EvaluationFormNumericQuestionPropertiesBuilder
fn clone(&self) -> EvaluationFormNumericQuestionPropertiesBuilder
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 Default for EvaluationFormNumericQuestionPropertiesBuilder
impl Default for EvaluationFormNumericQuestionPropertiesBuilder
source§fn default() -> EvaluationFormNumericQuestionPropertiesBuilder
fn default() -> EvaluationFormNumericQuestionPropertiesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EvaluationFormNumericQuestionPropertiesBuilder
impl PartialEq for EvaluationFormNumericQuestionPropertiesBuilder
source§fn eq(&self, other: &EvaluationFormNumericQuestionPropertiesBuilder) -> bool
fn eq(&self, other: &EvaluationFormNumericQuestionPropertiesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluationFormNumericQuestionPropertiesBuilder
Auto Trait Implementations§
impl Freeze for EvaluationFormNumericQuestionPropertiesBuilder
impl RefUnwindSafe for EvaluationFormNumericQuestionPropertiesBuilder
impl Send for EvaluationFormNumericQuestionPropertiesBuilder
impl Sync for EvaluationFormNumericQuestionPropertiesBuilder
impl Unpin for EvaluationFormNumericQuestionPropertiesBuilder
impl UnwindSafe for EvaluationFormNumericQuestionPropertiesBuilder
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.