Struct aws_sdk_lexmodelsv2::types::MultipleValuesSetting
source · #[non_exhaustive]pub struct MultipleValuesSetting { /* private fields */ }Expand description
Indicates whether a slot can return multiple values.
Implementations§
source§impl MultipleValuesSetting
impl MultipleValuesSetting
sourcepub fn allow_multiple_values(&self) -> bool
pub fn allow_multiple_values(&self) -> bool
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.
source§impl MultipleValuesSetting
impl MultipleValuesSetting
sourcepub fn builder() -> MultipleValuesSettingBuilder
pub fn builder() -> MultipleValuesSettingBuilder
Creates a new builder-style object to manufacture MultipleValuesSetting.
Trait Implementations§
source§impl Clone for MultipleValuesSetting
impl Clone for MultipleValuesSetting
source§fn clone(&self) -> MultipleValuesSetting
fn clone(&self) -> MultipleValuesSetting
Returns a copy 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 MultipleValuesSetting
impl Debug for MultipleValuesSetting
source§impl PartialEq<MultipleValuesSetting> for MultipleValuesSetting
impl PartialEq<MultipleValuesSetting> for MultipleValuesSetting
source§fn eq(&self, other: &MultipleValuesSetting) -> bool
fn eq(&self, other: &MultipleValuesSetting) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MultipleValuesSetting
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§
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