#[non_exhaustive]pub struct ListBotVersionsOutput {
pub bot_id: Option<String>,
pub bot_version_summaries: Option<Vec<BotVersionSummary>>,
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 to list versions for.
bot_version_summaries: Option<Vec<BotVersionSummary>>
Summary information for the bot versions 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 versions 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 ListBotVersions
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListBotAliases
operation request to get the next page of results.
Implementations§
source§impl ListBotVersionsOutput
impl ListBotVersionsOutput
sourcepub fn bot_version_summaries(&self) -> &[BotVersionSummary]
pub fn bot_version_summaries(&self) -> &[BotVersionSummary]
Summary information for the bot versions 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 versions 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 .bot_version_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 ListBotVersions
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListBotAliases
operation request to get the next page of results.
source§impl ListBotVersionsOutput
impl ListBotVersionsOutput
sourcepub fn builder() -> ListBotVersionsOutputBuilder
pub fn builder() -> ListBotVersionsOutputBuilder
Creates a new builder-style object to manufacture ListBotVersionsOutput
.
Trait Implementations§
source§impl Clone for ListBotVersionsOutput
impl Clone for ListBotVersionsOutput
source§fn clone(&self) -> ListBotVersionsOutput
fn clone(&self) -> ListBotVersionsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListBotVersionsOutput
impl Debug for ListBotVersionsOutput
source§impl PartialEq for ListBotVersionsOutput
impl PartialEq for ListBotVersionsOutput
source§fn eq(&self, other: &ListBotVersionsOutput) -> bool
fn eq(&self, other: &ListBotVersionsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListBotVersionsOutput
impl RequestId for ListBotVersionsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.