Struct aws_sdk_connect::types::Evaluation
source · #[non_exhaustive]pub struct Evaluation {
pub evaluation_id: String,
pub evaluation_arn: String,
pub metadata: Option<EvaluationMetadata>,
pub answers: HashMap<String, EvaluationAnswerOutput>,
pub notes: HashMap<String, EvaluationNote>,
pub status: EvaluationStatus,
pub scores: Option<HashMap<String, EvaluationScore>>,
pub created_time: DateTime,
pub last_modified_time: DateTime,
pub tags: Option<HashMap<String, String>>,
}
Expand description
Information about a contact evaluation.
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.evaluation_id: String
A unique identifier for the contact evaluation.
evaluation_arn: String
The Amazon Resource Name (ARN) for the contact evaluation resource.
metadata: Option<EvaluationMetadata>
Metadata about the contact evaluation.
answers: HashMap<String, EvaluationAnswerOutput>
A map of question identifiers to answer value.
notes: HashMap<String, EvaluationNote>
A map of question identifiers to note value.
status: EvaluationStatus
The status of the contact evaluation.
scores: Option<HashMap<String, EvaluationScore>>
A map of item (section or question) identifiers to score value.
created_time: DateTime
The timestamp for when the evaluation was created.
last_modified_time: DateTime
The timestamp for when the evaluation was last updated.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Implementations§
source§impl Evaluation
impl Evaluation
sourcepub fn evaluation_id(&self) -> &str
pub fn evaluation_id(&self) -> &str
A unique identifier for the contact evaluation.
sourcepub fn evaluation_arn(&self) -> &str
pub fn evaluation_arn(&self) -> &str
The Amazon Resource Name (ARN) for the contact evaluation resource.
sourcepub fn metadata(&self) -> Option<&EvaluationMetadata>
pub fn metadata(&self) -> Option<&EvaluationMetadata>
Metadata about the contact evaluation.
sourcepub fn answers(&self) -> &HashMap<String, EvaluationAnswerOutput>
pub fn answers(&self) -> &HashMap<String, EvaluationAnswerOutput>
A map of question identifiers to answer value.
sourcepub fn notes(&self) -> &HashMap<String, EvaluationNote>
pub fn notes(&self) -> &HashMap<String, EvaluationNote>
A map of question identifiers to note value.
sourcepub fn status(&self) -> &EvaluationStatus
pub fn status(&self) -> &EvaluationStatus
The status of the contact evaluation.
sourcepub fn scores(&self) -> Option<&HashMap<String, EvaluationScore>>
pub fn scores(&self) -> Option<&HashMap<String, EvaluationScore>>
A map of item (section or question) identifiers to score value.
sourcepub fn created_time(&self) -> &DateTime
pub fn created_time(&self) -> &DateTime
The timestamp for when the evaluation was created.
sourcepub fn last_modified_time(&self) -> &DateTime
pub fn last_modified_time(&self) -> &DateTime
The timestamp for when the evaluation was last updated.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
source§impl Evaluation
impl Evaluation
sourcepub fn builder() -> EvaluationBuilder
pub fn builder() -> EvaluationBuilder
Creates a new builder-style object to manufacture Evaluation
.
Trait Implementations§
source§impl Clone for Evaluation
impl Clone for Evaluation
source§fn clone(&self) -> Evaluation
fn clone(&self) -> Evaluation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Evaluation
impl Debug for Evaluation
source§impl PartialEq for Evaluation
impl PartialEq for Evaluation
source§fn eq(&self, other: &Evaluation) -> bool
fn eq(&self, other: &Evaluation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Evaluation
Auto Trait Implementations§
impl Freeze for Evaluation
impl RefUnwindSafe for Evaluation
impl Send for Evaluation
impl Sync for Evaluation
impl Unpin for Evaluation
impl UnwindSafe for Evaluation
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