#[non_exhaustive]pub struct AnalyticsUtteranceResult {
pub bin_keys: Option<Vec<AnalyticsBinKey>>,
pub group_by_keys: Option<Vec<AnalyticsUtteranceGroupByKey>>,
pub metrics_results: Option<Vec<AnalyticsUtteranceMetricResult>>,
pub attribute_results: Option<Vec<AnalyticsUtteranceAttributeResult>>,
}Expand description
An object containing the results for the utterance metrics you requested and the bin and/or group(s) they refer to, if applicable.
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.bin_keys: Option<Vec<AnalyticsBinKey>>A list of objects containing the criteria you requested for binning results and the values of the bins.
group_by_keys: Option<Vec<AnalyticsUtteranceGroupByKey>>A list of objects containing the criteria you requested for grouping results and the values of the bins.
metrics_results: Option<Vec<AnalyticsUtteranceMetricResult>>A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.
attribute_results: Option<Vec<AnalyticsUtteranceAttributeResult>>A list of objects containing information about the last used intent at the time of an utterance.
Implementations§
source§impl AnalyticsUtteranceResult
impl AnalyticsUtteranceResult
sourcepub fn bin_keys(&self) -> &[AnalyticsBinKey]
pub fn bin_keys(&self) -> &[AnalyticsBinKey]
A list of objects containing the criteria you requested for binning results and the values of the bins.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .bin_keys.is_none().
sourcepub fn group_by_keys(&self) -> &[AnalyticsUtteranceGroupByKey]
pub fn group_by_keys(&self) -> &[AnalyticsUtteranceGroupByKey]
A list of objects containing the criteria you requested for grouping results and the values of the bins.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .group_by_keys.is_none().
sourcepub fn metrics_results(&self) -> &[AnalyticsUtteranceMetricResult]
pub fn metrics_results(&self) -> &[AnalyticsUtteranceMetricResult]
A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .metrics_results.is_none().
sourcepub fn attribute_results(&self) -> &[AnalyticsUtteranceAttributeResult]
pub fn attribute_results(&self) -> &[AnalyticsUtteranceAttributeResult]
A list of objects containing information about the last used intent at the time of an utterance.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .attribute_results.is_none().
source§impl AnalyticsUtteranceResult
impl AnalyticsUtteranceResult
sourcepub fn builder() -> AnalyticsUtteranceResultBuilder
pub fn builder() -> AnalyticsUtteranceResultBuilder
Creates a new builder-style object to manufacture AnalyticsUtteranceResult.
Trait Implementations§
source§impl Clone for AnalyticsUtteranceResult
impl Clone for AnalyticsUtteranceResult
source§fn clone(&self) -> AnalyticsUtteranceResult
fn clone(&self) -> AnalyticsUtteranceResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AnalyticsUtteranceResult
impl Debug for AnalyticsUtteranceResult
source§impl PartialEq for AnalyticsUtteranceResult
impl PartialEq for AnalyticsUtteranceResult
impl StructuralPartialEq for AnalyticsUtteranceResult
Auto Trait Implementations§
impl Freeze for AnalyticsUtteranceResult
impl RefUnwindSafe for AnalyticsUtteranceResult
impl Send for AnalyticsUtteranceResult
impl Sync for AnalyticsUtteranceResult
impl Unpin for AnalyticsUtteranceResult
impl UnwindSafe for AnalyticsUtteranceResult
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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