#[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.