Struct aws_sdk_lexmodelsv2::types::AnalyticsIntentResult
source · #[non_exhaustive]pub struct AnalyticsIntentResult {
pub bin_keys: Option<Vec<AnalyticsBinKey>>,
pub group_by_keys: Option<Vec<AnalyticsIntentGroupByKey>>,
pub metrics_results: Option<Vec<AnalyticsIntentMetricResult>>,
}
Expand description
An object containing the results for the intent 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<AnalyticsIntentGroupByKey>>
A list of objects containing the criteria you requested for grouping results and the values of the groups.
metrics_results: Option<Vec<AnalyticsIntentMetricResult>>
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.
Implementations§
source§impl AnalyticsIntentResult
impl AnalyticsIntentResult
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) -> &[AnalyticsIntentGroupByKey]
pub fn group_by_keys(&self) -> &[AnalyticsIntentGroupByKey]
A list of objects containing the criteria you requested for grouping results and the values of the groups.
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) -> &[AnalyticsIntentMetricResult]
pub fn metrics_results(&self) -> &[AnalyticsIntentMetricResult]
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()
.
source§impl AnalyticsIntentResult
impl AnalyticsIntentResult
sourcepub fn builder() -> AnalyticsIntentResultBuilder
pub fn builder() -> AnalyticsIntentResultBuilder
Creates a new builder-style object to manufacture AnalyticsIntentResult
.
Trait Implementations§
source§impl Clone for AnalyticsIntentResult
impl Clone for AnalyticsIntentResult
source§fn clone(&self) -> AnalyticsIntentResult
fn clone(&self) -> AnalyticsIntentResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnalyticsIntentResult
impl Debug for AnalyticsIntentResult
source§impl PartialEq for AnalyticsIntentResult
impl PartialEq for AnalyticsIntentResult
source§fn eq(&self, other: &AnalyticsIntentResult) -> bool
fn eq(&self, other: &AnalyticsIntentResult) -> bool
self
and other
values to be equal, and is used
by ==
.