#[non_exhaustive]pub struct StartTestExecutionInput {
pub test_set_id: Option<String>,
pub target: Option<TestExecutionTarget>,
pub api_mode: Option<TestExecutionApiMode>,
pub test_execution_modality: Option<TestExecutionModality>,
}
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.test_set_id: Option<String>
The test set Id for the test set execution.
target: Option<TestExecutionTarget>
The target bot for the test set execution.
api_mode: Option<TestExecutionApiMode>
Indicates whether we use streaming or non-streaming APIs for the test set execution. For streaming, StartConversation Runtime API is used. Whereas, for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime API are used.
test_execution_modality: Option<TestExecutionModality>
Indicates whether audio or text is used.
Implementations§
source§impl StartTestExecutionInput
impl StartTestExecutionInput
sourcepub fn test_set_id(&self) -> Option<&str>
pub fn test_set_id(&self) -> Option<&str>
The test set Id for the test set execution.
sourcepub fn target(&self) -> Option<&TestExecutionTarget>
pub fn target(&self) -> Option<&TestExecutionTarget>
The target bot for the test set execution.
sourcepub fn api_mode(&self) -> Option<&TestExecutionApiMode>
pub fn api_mode(&self) -> Option<&TestExecutionApiMode>
Indicates whether we use streaming or non-streaming APIs for the test set execution. For streaming, StartConversation Runtime API is used. Whereas, for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime API are used.
sourcepub fn test_execution_modality(&self) -> Option<&TestExecutionModality>
pub fn test_execution_modality(&self) -> Option<&TestExecutionModality>
Indicates whether audio or text is used.
source§impl StartTestExecutionInput
impl StartTestExecutionInput
sourcepub fn builder() -> StartTestExecutionInputBuilder
pub fn builder() -> StartTestExecutionInputBuilder
Creates a new builder-style object to manufacture StartTestExecutionInput
.
Trait Implementations§
source§impl Clone for StartTestExecutionInput
impl Clone for StartTestExecutionInput
source§fn clone(&self) -> StartTestExecutionInput
fn clone(&self) -> StartTestExecutionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartTestExecutionInput
impl Debug for StartTestExecutionInput
source§impl PartialEq for StartTestExecutionInput
impl PartialEq for StartTestExecutionInput
source§fn eq(&self, other: &StartTestExecutionInput) -> bool
fn eq(&self, other: &StartTestExecutionInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartTestExecutionInput
Auto Trait Implementations§
impl Freeze for StartTestExecutionInput
impl RefUnwindSafe for StartTestExecutionInput
impl Send for StartTestExecutionInput
impl Sync for StartTestExecutionInput
impl Unpin for StartTestExecutionInput
impl UnwindSafe for StartTestExecutionInput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more