[][src]Struct rusoto_lex_runtime::ActiveContext

pub struct ActiveContext {
    pub name: String,
    pub parameters: HashMap<String, String>,
    pub time_to_live: ActiveContextTimeToLive,
}

A context is a variable that contains information about the current state of the conversation between a user and Amazon Lex. Context can be set automatically by Amazon Lex when an intent is fulfilled, or it can be set at runtime using the PutContent, PutText, or PutSession operation.

Fields

name: String

The name of the context.

parameters: HashMap<String, String>

State variables for the current context. You can use these values as default values for slots in subsequent events.

time_to_live: ActiveContextTimeToLive

The length of time or number of turns that a context remains active.

Trait Implementations

impl Clone for ActiveContext[src]

impl Debug for ActiveContext[src]

impl Default for ActiveContext[src]

impl<'de> Deserialize<'de> for ActiveContext[src]

impl PartialEq<ActiveContext> for ActiveContext[src]

impl Serialize for ActiveContext[src]

impl StructuralPartialEq for ActiveContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.