#[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 ==
.impl StructuralPartialEq for CreateBotVersionInput
Auto Trait Implementations§
impl Freeze for CreateBotVersionInput
impl RefUnwindSafe for CreateBotVersionInput
impl Send for CreateBotVersionInput
impl Sync for CreateBotVersionInput
impl Unpin for CreateBotVersionInput
impl UnwindSafe for CreateBotVersionInput
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> 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