#[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.impl StructuralPartialEq for ListSessionMetricsOutput
Auto Trait Implementations§
impl Freeze for ListSessionMetricsOutput
impl RefUnwindSafe for ListSessionMetricsOutput
impl Send for ListSessionMetricsOutput
impl Sync for ListSessionMetricsOutput
impl Unpin for ListSessionMetricsOutput
impl UnwindSafe for ListSessionMetricsOutput
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