Struct aws_sdk_lexmodelsv2::model::MultipleValuesSetting
source · [−]#[non_exhaustive]pub struct MultipleValuesSetting {
pub allow_multiple_values: bool,
}Expand description
Indicates whether a slot can return multiple values.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.allow_multiple_values: boolIndicates whether a slot can return multiple values. When true, the slot may return more than one value in a response. When false, the slot returns only a single value.
Multi-value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException.
If the allowMutlipleValues is not set, the default value is false.
Implementations
Indicates whether a slot can return multiple values. When true, the slot may return more than one value in a response. When false, the slot returns only a single value.
Multi-value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException.
If the allowMutlipleValues is not set, the default value is false.
Creates a new builder-style object to manufacture MultipleValuesSetting
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MultipleValuesSetting
impl Send for MultipleValuesSetting
impl Sync for MultipleValuesSetting
impl Unpin for MultipleValuesSetting
impl UnwindSafe for MultipleValuesSetting
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more