Struct aws_sdk_lexmodelsv2::output::CreateBotVersionOutput
source · [−]#[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>,
}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
sourceimpl 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.
sourceimpl CreateBotVersionOutput
impl CreateBotVersionOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateBotVersionOutput.
Trait Implementations
sourceimpl Clone for CreateBotVersionOutput
impl Clone for CreateBotVersionOutput
sourcefn clone(&self) -> CreateBotVersionOutput
fn clone(&self) -> CreateBotVersionOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CreateBotVersionOutput
impl Debug for CreateBotVersionOutput
sourceimpl PartialEq<CreateBotVersionOutput> for CreateBotVersionOutput
impl PartialEq<CreateBotVersionOutput> for CreateBotVersionOutput
sourcefn eq(&self, other: &CreateBotVersionOutput) -> bool
fn eq(&self, other: &CreateBotVersionOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateBotVersionOutput) -> bool
fn ne(&self, other: &CreateBotVersionOutput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateBotVersionOutput
Auto Trait Implementations
impl RefUnwindSafe for CreateBotVersionOutput
impl Send for CreateBotVersionOutput
impl Sync for CreateBotVersionOutput
impl Unpin for CreateBotVersionOutput
impl UnwindSafe for CreateBotVersionOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more