#[non_exhaustive]pub struct AnalyticsUtteranceResultBuilder { /* private fields */ }Expand description
A builder for AnalyticsUtteranceResult.
Implementations§
source§impl AnalyticsUtteranceResultBuilder
impl AnalyticsUtteranceResultBuilder
sourcepub fn bin_keys(self, input: AnalyticsBinKey) -> Self
pub fn bin_keys(self, input: AnalyticsBinKey) -> Self
Appends an item to bin_keys.
To override the contents of this collection use set_bin_keys.
A list of objects containing the criteria you requested for binning results and the values of the bins.
sourcepub fn set_bin_keys(self, input: Option<Vec<AnalyticsBinKey>>) -> Self
pub fn set_bin_keys(self, input: Option<Vec<AnalyticsBinKey>>) -> Self
A list of objects containing the criteria you requested for binning results and the values of the bins.
sourcepub fn get_bin_keys(&self) -> &Option<Vec<AnalyticsBinKey>>
pub fn get_bin_keys(&self) -> &Option<Vec<AnalyticsBinKey>>
A list of objects containing the criteria you requested for binning results and the values of the bins.
sourcepub fn group_by_keys(self, input: AnalyticsUtteranceGroupByKey) -> Self
pub fn group_by_keys(self, input: AnalyticsUtteranceGroupByKey) -> Self
Appends an item to group_by_keys.
To override the contents of this collection use set_group_by_keys.
A list of objects containing the criteria you requested for grouping results and the values of the bins.
sourcepub fn set_group_by_keys(
self,
input: Option<Vec<AnalyticsUtteranceGroupByKey>>,
) -> Self
pub fn set_group_by_keys( self, input: Option<Vec<AnalyticsUtteranceGroupByKey>>, ) -> Self
A list of objects containing the criteria you requested for grouping results and the values of the bins.
sourcepub fn get_group_by_keys(&self) -> &Option<Vec<AnalyticsUtteranceGroupByKey>>
pub fn get_group_by_keys(&self) -> &Option<Vec<AnalyticsUtteranceGroupByKey>>
A list of objects containing the criteria you requested for grouping results and the values of the bins.
sourcepub fn metrics_results(self, input: AnalyticsUtteranceMetricResult) -> Self
pub fn metrics_results(self, input: AnalyticsUtteranceMetricResult) -> Self
Appends an item to metrics_results.
To override the contents of this collection use set_metrics_results.
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.
sourcepub fn set_metrics_results(
self,
input: Option<Vec<AnalyticsUtteranceMetricResult>>,
) -> Self
pub fn set_metrics_results( self, input: Option<Vec<AnalyticsUtteranceMetricResult>>, ) -> Self
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.
sourcepub fn get_metrics_results(
&self,
) -> &Option<Vec<AnalyticsUtteranceMetricResult>>
pub fn get_metrics_results( &self, ) -> &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.
sourcepub fn attribute_results(self, input: AnalyticsUtteranceAttributeResult) -> Self
pub fn attribute_results(self, input: AnalyticsUtteranceAttributeResult) -> Self
Appends an item to attribute_results.
To override the contents of this collection use set_attribute_results.
A list of objects containing information about the last used intent at the time of an utterance.
sourcepub fn set_attribute_results(
self,
input: Option<Vec<AnalyticsUtteranceAttributeResult>>,
) -> Self
pub fn set_attribute_results( self, input: Option<Vec<AnalyticsUtteranceAttributeResult>>, ) -> Self
A list of objects containing information about the last used intent at the time of an utterance.
sourcepub fn get_attribute_results(
&self,
) -> &Option<Vec<AnalyticsUtteranceAttributeResult>>
pub fn get_attribute_results( &self, ) -> &Option<Vec<AnalyticsUtteranceAttributeResult>>
A list of objects containing information about the last used intent at the time of an utterance.
sourcepub fn build(self) -> AnalyticsUtteranceResult
pub fn build(self) -> AnalyticsUtteranceResult
Consumes the builder and constructs a AnalyticsUtteranceResult.
Trait Implementations§
source§impl Clone for AnalyticsUtteranceResultBuilder
impl Clone for AnalyticsUtteranceResultBuilder
source§fn clone(&self) -> AnalyticsUtteranceResultBuilder
fn clone(&self) -> AnalyticsUtteranceResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AnalyticsUtteranceResultBuilder
impl Default for AnalyticsUtteranceResultBuilder
source§fn default() -> AnalyticsUtteranceResultBuilder
fn default() -> AnalyticsUtteranceResultBuilder
source§impl PartialEq for AnalyticsUtteranceResultBuilder
impl PartialEq for AnalyticsUtteranceResultBuilder
source§fn eq(&self, other: &AnalyticsUtteranceResultBuilder) -> bool
fn eq(&self, other: &AnalyticsUtteranceResultBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnalyticsUtteranceResultBuilder
Auto Trait Implementations§
impl Freeze for AnalyticsUtteranceResultBuilder
impl RefUnwindSafe for AnalyticsUtteranceResultBuilder
impl Send for AnalyticsUtteranceResultBuilder
impl Sync for AnalyticsUtteranceResultBuilder
impl Unpin for AnalyticsUtteranceResultBuilder
impl UnwindSafe for AnalyticsUtteranceResultBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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