Struct aws_sdk_lexmodelsv2::types::SampleUtterance
source · #[non_exhaustive]pub struct SampleUtterance {
pub utterance: String,
}
Expand description
A sample utterance that invokes an intent or respond to a slot elicitation prompt.
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.utterance: String
The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.
Implementations§
source§impl SampleUtterance
impl SampleUtterance
sourcepub fn builder() -> SampleUtteranceBuilder
pub fn builder() -> SampleUtteranceBuilder
Creates a new builder-style object to manufacture SampleUtterance
.
Trait Implementations§
source§impl Clone for SampleUtterance
impl Clone for SampleUtterance
source§fn clone(&self) -> SampleUtterance
fn clone(&self) -> SampleUtterance
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 SampleUtterance
impl Debug for SampleUtterance
source§impl PartialEq for SampleUtterance
impl PartialEq for SampleUtterance
source§fn eq(&self, other: &SampleUtterance) -> bool
fn eq(&self, other: &SampleUtterance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SampleUtterance
Auto Trait Implementations§
impl RefUnwindSafe for SampleUtterance
impl Send for SampleUtterance
impl Sync for SampleUtterance
impl Unpin for SampleUtterance
impl UnwindSafe for SampleUtterance
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.