#[non_exhaustive]pub struct BuildBotLocaleInput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub locale_id: 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 build. The identifier is returned in the response from the CreateBot operation.
bot_version: Option<String>The version of the bot to build. This can only be the draft version of the bot.
locale_id: Option<String>The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages.
Implementations§
source§impl BuildBotLocaleInput
impl BuildBotLocaleInput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The identifier of the bot to build. The identifier is returned in the response from the CreateBot operation.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot to build. This can only be the draft version of the bot.
sourcepub fn locale_id(&self) -> Option<&str>
pub fn locale_id(&self) -> Option<&str>
The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages.
source§impl BuildBotLocaleInput
impl BuildBotLocaleInput
sourcepub fn builder() -> BuildBotLocaleInputBuilder
pub fn builder() -> BuildBotLocaleInputBuilder
Creates a new builder-style object to manufacture BuildBotLocaleInput.
Trait Implementations§
source§impl Clone for BuildBotLocaleInput
impl Clone for BuildBotLocaleInput
source§fn clone(&self) -> BuildBotLocaleInput
fn clone(&self) -> BuildBotLocaleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BuildBotLocaleInput
impl Debug for BuildBotLocaleInput
source§impl PartialEq for BuildBotLocaleInput
impl PartialEq for BuildBotLocaleInput
source§fn eq(&self, other: &BuildBotLocaleInput) -> bool
fn eq(&self, other: &BuildBotLocaleInput) -> bool
self and other values to be equal, and is used
by ==.