#[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
impl StructuralPartialEq for BuildBotLocaleInput
Auto Trait Implementations§
impl Freeze for BuildBotLocaleInput
impl RefUnwindSafe for BuildBotLocaleInput
impl Send for BuildBotLocaleInput
impl Sync for BuildBotLocaleInput
impl Unpin for BuildBotLocaleInput
impl UnwindSafe for BuildBotLocaleInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more