Struct aws_sdk_lexmodelsv2::types::ResponseSpecification
source · #[non_exhaustive]pub struct ResponseSpecification {
pub message_groups: Vec<MessageGroup>,
pub allow_interrupt: Option<bool>,
}
Expand description
Specifies a list of message groups that Amazon Lex uses to respond the user input.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.message_groups: Vec<MessageGroup>
A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.
allow_interrupt: Option<bool>
Indicates whether the user can interrupt a speech response from Amazon Lex.
Implementations§
source§impl ResponseSpecification
impl ResponseSpecification
sourcepub fn message_groups(&self) -> &[MessageGroup]
pub fn message_groups(&self) -> &[MessageGroup]
A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.
sourcepub fn allow_interrupt(&self) -> Option<bool>
pub fn allow_interrupt(&self) -> Option<bool>
Indicates whether the user can interrupt a speech response from Amazon Lex.
source§impl ResponseSpecification
impl ResponseSpecification
sourcepub fn builder() -> ResponseSpecificationBuilder
pub fn builder() -> ResponseSpecificationBuilder
Creates a new builder-style object to manufacture ResponseSpecification
.
Trait Implementations§
source§impl Clone for ResponseSpecification
impl Clone for ResponseSpecification
source§fn clone(&self) -> ResponseSpecification
fn clone(&self) -> ResponseSpecification
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 ResponseSpecification
impl Debug for ResponseSpecification
source§impl PartialEq for ResponseSpecification
impl PartialEq for ResponseSpecification
source§fn eq(&self, other: &ResponseSpecification) -> bool
fn eq(&self, other: &ResponseSpecification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResponseSpecification
Auto Trait Implementations§
impl RefUnwindSafe for ResponseSpecification
impl Send for ResponseSpecification
impl Sync for ResponseSpecification
impl Unpin for ResponseSpecification
impl UnwindSafe for ResponseSpecification
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.