#[non_exhaustive]pub struct CreateBotVersionOutput {
pub bot_id: Option<String>,
pub description: Option<String>,
pub bot_version: Option<String>,
pub bot_version_locale_specification: Option<HashMap<String, BotVersionLocaleDetails>>,
pub bot_status: Option<BotStatus>,
pub creation_date_time: Option<DateTime>,
/* private fields */
}
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 bot identifier specified in the request.
description: Option<String>
The description of the version specified in the request.
bot_version: Option<String>
The version number assigned to the version.
bot_version_locale_specification: Option<HashMap<String, BotVersionLocaleDetails>>
The source versions used for each locale in the new version.
bot_status: Option<BotStatus>
When you send a request to create or update a bot, Amazon Lex sets the status response element to Creating
. After Amazon Lex builds the bot, it sets status to Available
. If Amazon Lex can't build the bot, it sets status to Failed
.
creation_date_time: Option<DateTime>
A timestamp of the date and time that the version was created.
Implementations§
source§impl CreateBotVersionOutput
impl CreateBotVersionOutput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the version specified in the request.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version number assigned to the version.
sourcepub fn bot_version_locale_specification(
&self
) -> Option<&HashMap<String, BotVersionLocaleDetails>>
pub fn bot_version_locale_specification( &self ) -> Option<&HashMap<String, BotVersionLocaleDetails>>
The source versions used for each locale in the new version.
sourcepub fn bot_status(&self) -> Option<&BotStatus>
pub fn bot_status(&self) -> Option<&BotStatus>
When you send a request to create or update a bot, Amazon Lex sets the status response element to Creating
. After Amazon Lex builds the bot, it sets status to Available
. If Amazon Lex can't build the bot, it sets status to Failed
.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
A timestamp of the date and time that the version was created.
source§impl CreateBotVersionOutput
impl CreateBotVersionOutput
sourcepub fn builder() -> CreateBotVersionOutputBuilder
pub fn builder() -> CreateBotVersionOutputBuilder
Creates a new builder-style object to manufacture CreateBotVersionOutput
.
Trait Implementations§
source§impl Clone for CreateBotVersionOutput
impl Clone for CreateBotVersionOutput
source§fn clone(&self) -> CreateBotVersionOutput
fn clone(&self) -> CreateBotVersionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateBotVersionOutput
impl Debug for CreateBotVersionOutput
source§impl PartialEq for CreateBotVersionOutput
impl PartialEq for CreateBotVersionOutput
source§fn eq(&self, other: &CreateBotVersionOutput) -> bool
fn eq(&self, other: &CreateBotVersionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateBotVersionOutput
impl RequestId for CreateBotVersionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreateBotVersionOutput
Auto Trait Implementations§
impl Freeze for CreateBotVersionOutput
impl RefUnwindSafe for CreateBotVersionOutput
impl Send for CreateBotVersionOutput
impl Sync for CreateBotVersionOutput
impl Unpin for CreateBotVersionOutput
impl UnwindSafe for CreateBotVersionOutput
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