#[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 ==
.