Struct aws_sdk_lexmodelsv2::operation::list_bots::ListBotsOutput
source · #[non_exhaustive]pub struct ListBotsOutput {
pub bot_summaries: Option<Vec<BotSummary>>,
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_summaries: Option<Vec<BotSummary>>
Summary information for the bots 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 bots available, the nextToken
field contains a token to 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 ListBots
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListBots
operation request to get the next page of results.
Implementations§
source§impl ListBotsOutput
impl ListBotsOutput
sourcepub fn bot_summaries(&self) -> &[BotSummary]
pub fn bot_summaries(&self) -> &[BotSummary]
Summary information for the bots 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 bots available, the nextToken
field contains a token to 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 .bot_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 ListBots
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListBots
operation request to get the next page of results.
source§impl ListBotsOutput
impl ListBotsOutput
sourcepub fn builder() -> ListBotsOutputBuilder
pub fn builder() -> ListBotsOutputBuilder
Creates a new builder-style object to manufacture ListBotsOutput
.
Trait Implementations§
source§impl Clone for ListBotsOutput
impl Clone for ListBotsOutput
source§fn clone(&self) -> ListBotsOutput
fn clone(&self) -> ListBotsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListBotsOutput
impl Debug for ListBotsOutput
source§impl PartialEq for ListBotsOutput
impl PartialEq for ListBotsOutput
source§fn eq(&self, other: &ListBotsOutput) -> bool
fn eq(&self, other: &ListBotsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListBotsOutput
impl RequestId for ListBotsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.