Struct aws_sdk_connect::types::EvaluationFormQuestion
source · #[non_exhaustive]pub struct EvaluationFormQuestion {
pub title: String,
pub instructions: Option<String>,
pub ref_id: String,
pub not_applicable_enabled: bool,
pub question_type: EvaluationFormQuestionType,
pub question_type_properties: Option<EvaluationFormQuestionTypeProperties>,
pub weight: f64,
}
Expand description
Information about a question from an evaluation form.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.title: String
The title of the question.
instructions: Option<String>
The instructions of the section.
ref_id: String
The identifier of the question. An identifier must be unique within the evaluation form.
not_applicable_enabled: bool
The flag to enable not applicable answers to the question.
question_type: EvaluationFormQuestionType
The type of the question.
question_type_properties: Option<EvaluationFormQuestionTypeProperties>
The properties of the type of question. Text questions do not have to define question type properties.
weight: f64
The scoring weight of the section.
Implementations§
source§impl EvaluationFormQuestion
impl EvaluationFormQuestion
sourcepub fn instructions(&self) -> Option<&str>
pub fn instructions(&self) -> Option<&str>
The instructions of the section.
sourcepub fn ref_id(&self) -> &str
pub fn ref_id(&self) -> &str
The identifier of the question. An identifier must be unique within the evaluation form.
sourcepub fn not_applicable_enabled(&self) -> bool
pub fn not_applicable_enabled(&self) -> bool
The flag to enable not applicable answers to the question.
sourcepub fn question_type(&self) -> &EvaluationFormQuestionType
pub fn question_type(&self) -> &EvaluationFormQuestionType
The type of the question.
sourcepub fn question_type_properties(
&self
) -> Option<&EvaluationFormQuestionTypeProperties>
pub fn question_type_properties( &self ) -> Option<&EvaluationFormQuestionTypeProperties>
The properties of the type of question. Text questions do not have to define question type properties.
source§impl EvaluationFormQuestion
impl EvaluationFormQuestion
sourcepub fn builder() -> EvaluationFormQuestionBuilder
pub fn builder() -> EvaluationFormQuestionBuilder
Creates a new builder-style object to manufacture EvaluationFormQuestion
.
Trait Implementations§
source§impl Clone for EvaluationFormQuestion
impl Clone for EvaluationFormQuestion
source§fn clone(&self) -> EvaluationFormQuestion
fn clone(&self) -> EvaluationFormQuestion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EvaluationFormQuestion
impl Debug for EvaluationFormQuestion
source§impl PartialEq for EvaluationFormQuestion
impl PartialEq for EvaluationFormQuestion
source§fn eq(&self, other: &EvaluationFormQuestion) -> bool
fn eq(&self, other: &EvaluationFormQuestion) -> bool
self
and other
values to be equal, and is used
by ==
.