#[non_exhaustive]pub struct ListIntentsOutput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub locale_id: Option<String>,
pub intent_summaries: Option<Vec<IntentSummary>>,
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 of the bot that contains the intent.
bot_version: Option<String>
The version of the bot that contains the intent.
locale_id: Option<String>
The language and locale of the intents in the list.
intent_summaries: Option<Vec<IntentSummary>>
Summary information for the intents that meet the filter criteria specified in the request. The length of the list is specified in the maxResults
parameter of the request. If there are more intents available, the nextToken
field contains a token to get the next page of results.
next_token: Option<String>
A token that indicates whether there are more results to return in a response to the ListIntents
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListIntents
operation request to get the next page of results.
Implementations§
source§impl ListIntentsOutput
impl ListIntentsOutput
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot that contains the intent.
sourcepub fn intent_summaries(&self) -> &[IntentSummary]
pub fn intent_summaries(&self) -> &[IntentSummary]
Summary information for the intents that meet the filter criteria specified in the request. The length of the list is specified in the maxResults
parameter of the request. If there are more intents available, the nextToken
field contains a token to get the next page of results.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .intent_summaries.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token that indicates whether there are more results to return in a response to the ListIntents
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListIntents
operation request to get the next page of results.
source§impl ListIntentsOutput
impl ListIntentsOutput
sourcepub fn builder() -> ListIntentsOutputBuilder
pub fn builder() -> ListIntentsOutputBuilder
Creates a new builder-style object to manufacture ListIntentsOutput
.
Trait Implementations§
source§impl Clone for ListIntentsOutput
impl Clone for ListIntentsOutput
source§fn clone(&self) -> ListIntentsOutput
fn clone(&self) -> ListIntentsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListIntentsOutput
impl Debug for ListIntentsOutput
source§impl PartialEq for ListIntentsOutput
impl PartialEq for ListIntentsOutput
source§fn eq(&self, other: &ListIntentsOutput) -> bool
fn eq(&self, other: &ListIntentsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListIntentsOutput
impl RequestId for ListIntentsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.