#[non_exhaustive]pub struct AnalyticsUtteranceMetricResult {
pub name: Option<AnalyticsUtteranceMetricName>,
pub statistic: Option<AnalyticsMetricStatistic>,
pub value: Option<f64>,
}
Expand description
An object containing the results for the utterance metric you requested.
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.name: Option<AnalyticsUtteranceMetricName>
The metric that you requested.
-
Count
– The number of utterances. -
Missed
– The number of utterances that Amazon Lex failed to recognize. -
Detected
– The number of utterances that Amazon Lex managed to detect. -
UtteranceTimestamp
– The date and time of the utterance.
statistic: Option<AnalyticsMetricStatistic>
The summary statistic that you requested to calculate.
-
Sum
– The total count for the category you provide inname
. -
Average
– The total count divided by the number of utterances in the category you provide inname
. -
Max
– The highest count in the category you provide inname
.
value: Option<f64>
The value of the summary statistic for the metric that you requested.
Implementations§
source§impl AnalyticsUtteranceMetricResult
impl AnalyticsUtteranceMetricResult
sourcepub fn name(&self) -> Option<&AnalyticsUtteranceMetricName>
pub fn name(&self) -> Option<&AnalyticsUtteranceMetricName>
The metric that you requested.
-
Count
– The number of utterances. -
Missed
– The number of utterances that Amazon Lex failed to recognize. -
Detected
– The number of utterances that Amazon Lex managed to detect. -
UtteranceTimestamp
– The date and time of the utterance.
sourcepub fn statistic(&self) -> Option<&AnalyticsMetricStatistic>
pub fn statistic(&self) -> Option<&AnalyticsMetricStatistic>
The summary statistic that you requested to calculate.
-
Sum
– The total count for the category you provide inname
. -
Average
– The total count divided by the number of utterances in the category you provide inname
. -
Max
– The highest count in the category you provide inname
.
source§impl AnalyticsUtteranceMetricResult
impl AnalyticsUtteranceMetricResult
sourcepub fn builder() -> AnalyticsUtteranceMetricResultBuilder
pub fn builder() -> AnalyticsUtteranceMetricResultBuilder
Creates a new builder-style object to manufacture AnalyticsUtteranceMetricResult
.
Trait Implementations§
source§impl Clone for AnalyticsUtteranceMetricResult
impl Clone for AnalyticsUtteranceMetricResult
source§fn clone(&self) -> AnalyticsUtteranceMetricResult
fn clone(&self) -> AnalyticsUtteranceMetricResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AnalyticsUtteranceMetricResult
impl PartialEq for AnalyticsUtteranceMetricResult
source§fn eq(&self, other: &AnalyticsUtteranceMetricResult) -> bool
fn eq(&self, other: &AnalyticsUtteranceMetricResult) -> bool
self
and other
values to be equal, and is used
by ==
.