Struct aws_sdk_lexmodelsv2::operation::list_slots::ListSlotsOutput
source · #[non_exhaustive]pub struct ListSlotsOutput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub locale_id: Option<String>,
pub intent_id: Option<String>,
pub slot_summaries: Option<Vec<SlotSummary>>,
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 slots.
bot_version: Option<String>The version of the bot that contains the slots.
locale_id: Option<String>The language and locale of the slots in the list.
intent_id: Option<String>The identifier of the intent that contains the slots.
slot_summaries: Option<Vec<SlotSummary>>Summary information for the slots 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 slots 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 ListSlots operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListSlots operation request to get the next page of results.
Implementations§
source§impl ListSlotsOutput
impl ListSlotsOutput
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot that contains the slots.
sourcepub fn slot_summaries(&self) -> &[SlotSummary]
pub fn slot_summaries(&self) -> &[SlotSummary]
Summary information for the slots 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 slots 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 .slot_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 ListSlots operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListSlots operation request to get the next page of results.
source§impl ListSlotsOutput
impl ListSlotsOutput
sourcepub fn builder() -> ListSlotsOutputBuilder
pub fn builder() -> ListSlotsOutputBuilder
Creates a new builder-style object to manufacture ListSlotsOutput.
Trait Implementations§
source§impl Clone for ListSlotsOutput
impl Clone for ListSlotsOutput
source§fn clone(&self) -> ListSlotsOutput
fn clone(&self) -> ListSlotsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListSlotsOutput
impl Debug for ListSlotsOutput
source§impl PartialEq for ListSlotsOutput
impl PartialEq for ListSlotsOutput
source§fn eq(&self, other: &ListSlotsOutput) -> bool
fn eq(&self, other: &ListSlotsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for ListSlotsOutput
impl RequestId for ListSlotsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.