Struct aws_lambda_events::event::lex::LexEvent
source · pub struct LexEvent {
pub message_version: Option<String>,
pub invocation_source: Option<String>,
pub user_id: Option<String>,
pub input_transcript: Option<String>,
pub session_attributes: Option<SessionAttributes>,
pub request_attributes: HashMap<String, String>,
pub bot: Option<LexBot>,
pub output_dialog_mode: Option<String>,
pub current_intent: Option<LexCurrentIntent>,
pub alternative_intents: Option<Vec<LexAlternativeIntents>>,
pub dialog_action: Option<LexDialogAction>,
}
Fields§
§message_version: Option<String>
§invocation_source: Option<String>
§user_id: Option<String>
§input_transcript: Option<String>
§session_attributes: Option<SessionAttributes>
§request_attributes: HashMap<String, String>
§bot: Option<LexBot>
§output_dialog_mode: Option<String>
§current_intent: Option<LexCurrentIntent>
§alternative_intents: Option<Vec<LexAlternativeIntents>>
§dialog_action: Option<LexDialogAction>
Deprecated: the DialogAction field is never populated by Lex events
Trait Implementations§
source§impl<'de> Deserialize<'de> for LexEvent
impl<'de> Deserialize<'de> for LexEvent
source§fn 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
source§impl PartialEq for LexEvent
impl PartialEq for LexEvent
impl StructuralPartialEq for LexEvent
Auto Trait Implementations§
impl Freeze for LexEvent
impl RefUnwindSafe for LexEvent
impl Send for LexEvent
impl Sync for LexEvent
impl Unpin for LexEvent
impl UnwindSafe for LexEvent
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
Mutably borrows from an owned value. Read more