#[non_exhaustive]pub struct CreateBotVersionInput {
pub bot_id: Option<String>,
pub description: Option<String>,
pub bot_version_locale_specification: Option<HashMap<String, BotVersionLocaleDetails>>,
}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 create the version for.
description: Option<String>A description of the version. Use the description to help identify the version in lists.
bot_version_locale_specification: Option<HashMap<String, BotVersionLocaleDetails>>Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.
Implementations§
source§impl CreateBotVersionInput
impl CreateBotVersionInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the version. Use the description to help identify the version in lists.
sourcepub fn bot_version_locale_specification(
&self
) -> Option<&HashMap<String, BotVersionLocaleDetails>>
pub fn bot_version_locale_specification( &self ) -> Option<&HashMap<String, BotVersionLocaleDetails>>
Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.
source§impl CreateBotVersionInput
impl CreateBotVersionInput
sourcepub fn builder() -> CreateBotVersionInputBuilder
pub fn builder() -> CreateBotVersionInputBuilder
Creates a new builder-style object to manufacture CreateBotVersionInput.
Trait Implementations§
source§impl Clone for CreateBotVersionInput
impl Clone for CreateBotVersionInput
source§fn clone(&self) -> CreateBotVersionInput
fn clone(&self) -> CreateBotVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateBotVersionInput
impl Debug for CreateBotVersionInput
source§impl PartialEq for CreateBotVersionInput
impl PartialEq for CreateBotVersionInput
source§fn eq(&self, other: &CreateBotVersionInput) -> bool
fn eq(&self, other: &CreateBotVersionInput) -> bool
self and other values to be equal, and is used
by ==.