Struct rusoto_lex_models::BotChannelAssociation
source · [−]pub struct BotChannelAssociation {
pub bot_alias: Option<String>,
pub bot_configuration: Option<HashMap<String, String>>,
pub bot_name: Option<String>,
pub created_date: Option<f64>,
pub description: Option<String>,
pub failure_reason: Option<String>,
pub name: Option<String>,
pub status: Option<String>,
pub type_: Option<String>,
}
Expand description
Represents an association between an Amazon Lex bot and an external messaging platform.
Fields
bot_alias: Option<String>
An alias pointing to the specific version of the Amazon Lex bot to which this association is being made.
bot_configuration: Option<HashMap<String, String>>
Provides information necessary to communicate with the messaging platform.
bot_name: Option<String>
The name of the Amazon Lex bot to which this association is being made.
Currently, Amazon Lex supports associations with Facebook and Slack, and Twilio.
created_date: Option<f64>
The date that the association between the Amazon Lex bot and the channel was created.
description: Option<String>
A text description of the association you are creating.
failure_reason: Option<String>
If status
is FAILED
, Amazon Lex provides the reason that it failed to create the association.
name: Option<String>
The name of the association between the bot and the channel.
status: Option<String>
The status of the bot channel.
-
CREATED
- The channel has been created and is ready for use. -
IN_PROGRESS
- Channel creation is in progress. -
FAILED
- There was an error creating the channel. For information about the reason for the failure, see thefailureReason
field.
type_: Option<String>
Specifies the type of association by indicating the type of channel being established between the Amazon Lex bot and the external messaging platform.
Trait Implementations
sourceimpl Clone for BotChannelAssociation
impl Clone for BotChannelAssociation
sourcefn clone(&self) -> BotChannelAssociation
fn clone(&self) -> BotChannelAssociation
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 BotChannelAssociation
impl Debug for BotChannelAssociation
sourceimpl Default for BotChannelAssociation
impl Default for BotChannelAssociation
sourcefn default() -> BotChannelAssociation
fn default() -> BotChannelAssociation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for BotChannelAssociation
impl<'de> Deserialize<'de> for BotChannelAssociation
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<BotChannelAssociation> for BotChannelAssociation
impl PartialEq<BotChannelAssociation> for BotChannelAssociation
sourcefn eq(&self, other: &BotChannelAssociation) -> bool
fn eq(&self, other: &BotChannelAssociation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BotChannelAssociation) -> bool
fn ne(&self, other: &BotChannelAssociation) -> bool
This method tests for !=
.
impl StructuralPartialEq for BotChannelAssociation
Auto Trait Implementations
impl RefUnwindSafe for BotChannelAssociation
impl Send for BotChannelAssociation
impl Sync for BotChannelAssociation
impl Unpin for BotChannelAssociation
impl UnwindSafe for BotChannelAssociation
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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