pub struct GetSessionResponse {
pub dialog_action: Option<DialogAction>,
pub recent_intent_summary_view: Option<Vec<IntentSummary>>,
pub session_attributes: Option<HashMap<String, String>>,
pub session_id: Option<String>,
}
Fields§
§dialog_action: Option<DialogAction>
Describes the current state of the bot.
recent_intent_summary_view: Option<Vec<IntentSummary>>
An array of information about the intents used in the session. The array can contain a maximum of three summaries. If more than three intents are used in the session, the recentIntentSummaryView
operation contains information about the last three intents used.
If you set the checkpointLabelFilter
parameter in the request, the array contains only the intents with the specified label.
session_attributes: Option<HashMap<String, String>>
Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.
session_id: Option<String>
A unique identifier for the session.
Trait Implementations§
Source§impl Clone for GetSessionResponse
impl Clone for GetSessionResponse
Source§fn clone(&self) -> GetSessionResponse
fn clone(&self) -> GetSessionResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetSessionResponse
impl Debug for GetSessionResponse
Source§impl Default for GetSessionResponse
impl Default for GetSessionResponse
Source§fn default() -> GetSessionResponse
fn default() -> GetSessionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetSessionResponse
impl<'de> Deserialize<'de> for GetSessionResponse
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 GetSessionResponse
impl PartialEq for GetSessionResponse
impl StructuralPartialEq for GetSessionResponse
Auto Trait Implementations§
impl Freeze for GetSessionResponse
impl RefUnwindSafe for GetSessionResponse
impl Send for GetSessionResponse
impl Sync for GetSessionResponse
impl Unpin for GetSessionResponse
impl UnwindSafe for GetSessionResponse
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