#[non_exhaustive]pub struct ListBotVersionsInput {
pub bot_id: Option<String>,
pub sort_by: Option<BotVersionSortBy>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
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.
sort_by: Option<BotVersionSortBy>
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
max_results: Option<i32>
The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
next_token: Option<String>
If the response to the ListBotVersion
operation contains more results than specified in the maxResults
parameter, a token is returned in the response. Use that token in the nextToken
parameter to return the next page of results.
Implementations§
source§impl ListBotVersionsInput
impl ListBotVersionsInput
sourcepub fn sort_by(&self) -> Option<&BotVersionSortBy>
pub fn sort_by(&self) -> Option<&BotVersionSortBy>
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the response to the ListBotVersion
operation contains more results than specified in the maxResults
parameter, a token is returned in the response. Use that token in the nextToken
parameter to return the next page of results.
source§impl ListBotVersionsInput
impl ListBotVersionsInput
sourcepub fn builder() -> ListBotVersionsInputBuilder
pub fn builder() -> ListBotVersionsInputBuilder
Creates a new builder-style object to manufacture ListBotVersionsInput
.
Trait Implementations§
source§impl Clone for ListBotVersionsInput
impl Clone for ListBotVersionsInput
source§fn clone(&self) -> ListBotVersionsInput
fn clone(&self) -> ListBotVersionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListBotVersionsInput
impl Debug for ListBotVersionsInput
source§impl PartialEq for ListBotVersionsInput
impl PartialEq for ListBotVersionsInput
source§fn eq(&self, other: &ListBotVersionsInput) -> bool
fn eq(&self, other: &ListBotVersionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.