Struct aws_sdk_lexmodelsv2::model::MultipleValuesSetting
source · [−]#[non_exhaustive]pub struct MultipleValuesSetting { /* private fields */ }Expand description
Indicates whether a slot can return multiple values.
Implementations
sourceimpl 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.
sourceimpl MultipleValuesSetting
impl MultipleValuesSetting
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MultipleValuesSetting.
Trait Implementations
sourceimpl Clone for MultipleValuesSetting
impl Clone for MultipleValuesSetting
sourcefn clone(&self) -> MultipleValuesSetting
fn clone(&self) -> MultipleValuesSetting
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for MultipleValuesSetting
impl Debug for MultipleValuesSetting
sourceimpl PartialEq<MultipleValuesSetting> for MultipleValuesSetting
impl PartialEq<MultipleValuesSetting> for MultipleValuesSetting
sourcefn eq(&self, other: &MultipleValuesSetting) -> bool
fn eq(&self, other: &MultipleValuesSetting) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more