[][src]Struct rusoto_lex_models::EnumerationValue

pub struct EnumerationValue {
    pub synonyms: Option<Vec<String>>,
    pub value: String,
}

Each slot type can have a set of values. Each enumeration value represents a value the slot type can take.

For example, a pizza ordering bot could have a slot type that specifies the type of crust that the pizza should have. The slot type could include the values

  • thick

  • thin

  • stuffed

Fields

synonyms: Option<Vec<String>>

Additional values related to the slot type value.

value: String

The value of the slot type.

Trait Implementations

impl Clone for EnumerationValue[src]

impl Debug for EnumerationValue[src]

impl Default for EnumerationValue[src]

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

impl PartialEq<EnumerationValue> for EnumerationValue[src]

impl Serialize for EnumerationValue[src]

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