#[non_exhaustive]pub struct ListSessionMetricsOutput {
pub bot_id: Option<String>,
pub results: Option<Vec<AnalyticsSessionResult>>,
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 session metrics.
results: Option<Vec<AnalyticsSessionResult>>
The results for the session metrics.
next_token: Option<String>
If the response from the ListSessionMetrics 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 ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null.
Implementations§
source§impl ListSessionMetricsOutput
impl ListSessionMetricsOutput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The identifier for the bot for which you retrieved session metrics.
sourcepub fn results(&self) -> &[AnalyticsSessionResult]
pub fn results(&self) -> &[AnalyticsSessionResult]
The results for the session 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 ListSessionMetrics 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 ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null.
source§impl ListSessionMetricsOutput
impl ListSessionMetricsOutput
sourcepub fn builder() -> ListSessionMetricsOutputBuilder
pub fn builder() -> ListSessionMetricsOutputBuilder
Creates a new builder-style object to manufacture ListSessionMetricsOutput
.
Trait Implementations§
source§impl Clone for ListSessionMetricsOutput
impl Clone for ListSessionMetricsOutput
source§fn clone(&self) -> ListSessionMetricsOutput
fn clone(&self) -> ListSessionMetricsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListSessionMetricsOutput
impl Debug for ListSessionMetricsOutput
source§impl PartialEq for ListSessionMetricsOutput
impl PartialEq for ListSessionMetricsOutput
source§fn eq(&self, other: &ListSessionMetricsOutput) -> bool
fn eq(&self, other: &ListSessionMetricsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListSessionMetricsOutput
impl RequestId for ListSessionMetricsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.