#[non_exhaustive]pub struct ListIntentMetricsOutput {
pub bot_id: Option<String>,
pub results: Option<Vec<AnalyticsIntentResult>>,
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 intent metrics.
results: Option<Vec<AnalyticsIntentResult>>The results for the intent metrics.
next_token: Option<String>If the response from the ListIntentMetrics 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 ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.
Implementations§
source§impl ListIntentMetricsOutput
impl ListIntentMetricsOutput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The identifier for the bot for which you retrieved intent metrics.
sourcepub fn results(&self) -> &[AnalyticsIntentResult]
pub fn results(&self) -> &[AnalyticsIntentResult]
The results for the intent 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 ListIntentMetrics 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 ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.
source§impl ListIntentMetricsOutput
impl ListIntentMetricsOutput
sourcepub fn builder() -> ListIntentMetricsOutputBuilder
pub fn builder() -> ListIntentMetricsOutputBuilder
Creates a new builder-style object to manufacture ListIntentMetricsOutput.
Trait Implementations§
source§impl Clone for ListIntentMetricsOutput
impl Clone for ListIntentMetricsOutput
source§fn clone(&self) -> ListIntentMetricsOutput
fn clone(&self) -> ListIntentMetricsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListIntentMetricsOutput
impl Debug for ListIntentMetricsOutput
source§impl PartialEq for ListIntentMetricsOutput
impl PartialEq for ListIntentMetricsOutput
source§impl RequestId for ListIntentMetricsOutput
impl RequestId for ListIntentMetricsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for ListIntentMetricsOutput
Auto Trait Implementations§
impl Freeze for ListIntentMetricsOutput
impl RefUnwindSafe for ListIntentMetricsOutput
impl Send for ListIntentMetricsOutput
impl Sync for ListIntentMetricsOutput
impl Unpin for ListIntentMetricsOutput
impl UnwindSafe for ListIntentMetricsOutput
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