[][src]Struct rusoto_lex_models::SlotDefaultValueSpec

pub struct SlotDefaultValueSpec {
    pub default_value_list: Vec<SlotDefaultValue>,
}

Contains the default values for a slot. Default values are used when Amazon Lex hasn't determined a value for a slot.

Fields

default_value_list: Vec<SlotDefaultValue>

The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.

The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.

Trait Implementations

impl Clone for SlotDefaultValueSpec[src]

impl Debug for SlotDefaultValueSpec[src]

impl Default for SlotDefaultValueSpec[src]

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

impl PartialEq<SlotDefaultValueSpec> for SlotDefaultValueSpec[src]

impl Serialize for SlotDefaultValueSpec[src]

impl StructuralPartialEq for SlotDefaultValueSpec[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.