#[non_exhaustive]pub struct ListUtteranceMetricsOutput {
pub bot_id: Option<String>,
pub results: Option<Vec<AnalyticsUtteranceResult>>,
pub next_token: Option<String>,
/* private fields */
}
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.bot_id: Option<String>
The identifier for the bot for which you retrieved utterance metrics.
results: Option<Vec<AnalyticsUtteranceResult>>
The results for the utterance metrics.
next_token: Option<String>
If the response from the ListUtteranceMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListUtteranceMetrics request to return the next page of results. For a complete set of results, call the ListUtteranceMetrics operation until the nextToken returned in the response is null.
Implementations§
source§impl ListUtteranceMetricsOutput
impl ListUtteranceMetricsOutput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The identifier for the bot for which you retrieved utterance metrics.
sourcepub fn results(&self) -> &[AnalyticsUtteranceResult]
pub fn results(&self) -> &[AnalyticsUtteranceResult]
The results for the utterance metrics.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .results.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the response from the ListUtteranceMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListUtteranceMetrics request to return the next page of results. For a complete set of results, call the ListUtteranceMetrics operation until the nextToken returned in the response is null.
source§impl ListUtteranceMetricsOutput
impl ListUtteranceMetricsOutput
sourcepub fn builder() -> ListUtteranceMetricsOutputBuilder
pub fn builder() -> ListUtteranceMetricsOutputBuilder
Creates a new builder-style object to manufacture ListUtteranceMetricsOutput
.
Trait Implementations§
source§impl Clone for ListUtteranceMetricsOutput
impl Clone for ListUtteranceMetricsOutput
source§fn clone(&self) -> ListUtteranceMetricsOutput
fn clone(&self) -> ListUtteranceMetricsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListUtteranceMetricsOutput
impl Debug for ListUtteranceMetricsOutput
source§impl PartialEq for ListUtteranceMetricsOutput
impl PartialEq for ListUtteranceMetricsOutput
source§fn eq(&self, other: &ListUtteranceMetricsOutput) -> bool
fn eq(&self, other: &ListUtteranceMetricsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListUtteranceMetricsOutput
impl RequestId for ListUtteranceMetricsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.