#[non_exhaustive]pub struct GenerateBotElementOutput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub locale_id: Option<String>,
pub intent_id: Option<String>,
pub sample_utterances: Option<Vec<SampleUtterance>>,
/* 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 unique bot Id for the bot which received the response.
bot_version: Option<String>
The unique bot version for the bot which received the response.
locale_id: Option<String>
The unique locale Id for the bot which received the response.
intent_id: Option<String>
The unique intent Id for the bot which received the response.
sample_utterances: Option<Vec<SampleUtterance>>
The sample utterances for the bot which received the response.
Implementations§
source§impl GenerateBotElementOutput
impl GenerateBotElementOutput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The unique bot Id for the bot which received the response.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The unique bot version for the bot which received the response.
sourcepub fn locale_id(&self) -> Option<&str>
pub fn locale_id(&self) -> Option<&str>
The unique locale Id for the bot which received the response.
sourcepub fn intent_id(&self) -> Option<&str>
pub fn intent_id(&self) -> Option<&str>
The unique intent Id for the bot which received the response.
sourcepub fn sample_utterances(&self) -> &[SampleUtterance]
pub fn sample_utterances(&self) -> &[SampleUtterance]
The sample utterances for the bot which received the response.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sample_utterances.is_none()
.
source§impl GenerateBotElementOutput
impl GenerateBotElementOutput
sourcepub fn builder() -> GenerateBotElementOutputBuilder
pub fn builder() -> GenerateBotElementOutputBuilder
Creates a new builder-style object to manufacture GenerateBotElementOutput
.
Trait Implementations§
source§impl Clone for GenerateBotElementOutput
impl Clone for GenerateBotElementOutput
source§fn clone(&self) -> GenerateBotElementOutput
fn clone(&self) -> GenerateBotElementOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GenerateBotElementOutput
impl Debug for GenerateBotElementOutput
source§impl PartialEq for GenerateBotElementOutput
impl PartialEq for GenerateBotElementOutput
source§fn eq(&self, other: &GenerateBotElementOutput) -> bool
fn eq(&self, other: &GenerateBotElementOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GenerateBotElementOutput
impl RequestId for GenerateBotElementOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GenerateBotElementOutput
Auto Trait Implementations§
impl Freeze for GenerateBotElementOutput
impl RefUnwindSafe for GenerateBotElementOutput
impl Send for GenerateBotElementOutput
impl Sync for GenerateBotElementOutput
impl Unpin for GenerateBotElementOutput
impl UnwindSafe for GenerateBotElementOutput
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