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: StringThe title of the question.
instructions: Option<String>The instructions of the section.
ref_id: StringThe identifier of the question. An identifier must be unique within the evaluation form.
not_applicable_enabled: boolThe flag to enable not applicable answers to the question.
question_type: EvaluationFormQuestionTypeThe 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: f64The 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 ==.impl StructuralPartialEq for EvaluationFormQuestion
Auto Trait Implementations§
impl Freeze for EvaluationFormQuestion
impl RefUnwindSafe for EvaluationFormQuestion
impl Send for EvaluationFormQuestion
impl Sync for EvaluationFormQuestion
impl Unpin for EvaluationFormQuestion
impl UnwindSafe for EvaluationFormQuestion
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more