Struct aws_sdk_connect::types::EvaluationFormSection
source · #[non_exhaustive]pub struct EvaluationFormSection {
pub title: String,
pub ref_id: String,
pub instructions: Option<String>,
pub items: Vec<EvaluationFormItem>,
pub weight: f64,
}
Expand description
Information about a section from an evaluation form. A section can contain sections and/or questions. Evaluation forms can only contain sections and subsections (two level nesting).
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.title: String
The title of the section.
ref_id: String
The identifier of the section. An identifier must be unique within the evaluation form.
instructions: Option<String>
The instructions of the section.
items: Vec<EvaluationFormItem>
The items of the section.
weight: f64
The scoring weight of the section.
Implementations§
source§impl EvaluationFormSection
impl EvaluationFormSection
sourcepub fn ref_id(&self) -> &str
pub fn ref_id(&self) -> &str
The identifier of the section. An identifier must be unique within the evaluation form.
sourcepub fn instructions(&self) -> Option<&str>
pub fn instructions(&self) -> Option<&str>
The instructions of the section.
sourcepub fn items(&self) -> &[EvaluationFormItem]
pub fn items(&self) -> &[EvaluationFormItem]
The items of the section.
source§impl EvaluationFormSection
impl EvaluationFormSection
sourcepub fn builder() -> EvaluationFormSectionBuilder
pub fn builder() -> EvaluationFormSectionBuilder
Creates a new builder-style object to manufacture EvaluationFormSection
.
Trait Implementations§
source§impl Clone for EvaluationFormSection
impl Clone for EvaluationFormSection
source§fn clone(&self) -> EvaluationFormSection
fn clone(&self) -> EvaluationFormSection
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 Debug for EvaluationFormSection
impl Debug for EvaluationFormSection
source§impl PartialEq for EvaluationFormSection
impl PartialEq for EvaluationFormSection
source§fn eq(&self, other: &EvaluationFormSection) -> bool
fn eq(&self, other: &EvaluationFormSection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluationFormSection
Auto Trait Implementations§
impl Freeze for EvaluationFormSection
impl RefUnwindSafe for EvaluationFormSection
impl Send for EvaluationFormSection
impl Sync for EvaluationFormSection
impl Unpin for EvaluationFormSection
impl UnwindSafe for EvaluationFormSection
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.