Struct aws_sdk_connect::types::EvaluationScore
source · #[non_exhaustive]pub struct EvaluationScore {
pub percentage: f64,
pub not_applicable: bool,
pub automatic_fail: bool,
}
Expand description
Information about scores of a contact evaluation item (section or question).
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.percentage: f64
The score percentage for an item in a contact evaluation.
not_applicable: bool
The flag to mark the item as not applicable for scoring.
automatic_fail: bool
The flag that marks the item as automatic fail. If the item or a child item gets an automatic fail answer, this flag will be true.
Implementations§
source§impl EvaluationScore
impl EvaluationScore
sourcepub fn percentage(&self) -> f64
pub fn percentage(&self) -> f64
The score percentage for an item in a contact evaluation.
sourcepub fn not_applicable(&self) -> bool
pub fn not_applicable(&self) -> bool
The flag to mark the item as not applicable for scoring.
sourcepub fn automatic_fail(&self) -> bool
pub fn automatic_fail(&self) -> bool
The flag that marks the item as automatic fail. If the item or a child item gets an automatic fail answer, this flag will be true.
source§impl EvaluationScore
impl EvaluationScore
sourcepub fn builder() -> EvaluationScoreBuilder
pub fn builder() -> EvaluationScoreBuilder
Creates a new builder-style object to manufacture EvaluationScore
.
Trait Implementations§
source§impl Clone for EvaluationScore
impl Clone for EvaluationScore
source§fn clone(&self) -> EvaluationScore
fn clone(&self) -> EvaluationScore
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 EvaluationScore
impl Debug for EvaluationScore
source§impl PartialEq for EvaluationScore
impl PartialEq for EvaluationScore
source§fn eq(&self, other: &EvaluationScore) -> bool
fn eq(&self, other: &EvaluationScore) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluationScore
Auto Trait Implementations§
impl Freeze for EvaluationScore
impl RefUnwindSafe for EvaluationScore
impl Send for EvaluationScore
impl Sync for EvaluationScore
impl Unpin for EvaluationScore
impl UnwindSafe for EvaluationScore
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.