Struct aws_sdk_lexmodelsv2::types::OverallTestResultItem
source · #[non_exhaustive]pub struct OverallTestResultItem {
pub multi_turn_conversation: bool,
pub total_result_count: i32,
pub speech_transcription_result_counts: Option<HashMap<TestResultMatchStatus, i32>>,
pub end_to_end_result_counts: HashMap<TestResultMatchStatus, i32>,
}
Expand description
Information about the overall results for a test execution result.
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.multi_turn_conversation: bool
Indicates whether the conversation contains multiple turns or not.
total_result_count: i32
The total number of overall results in the result of the test execution.
speech_transcription_result_counts: Option<HashMap<TestResultMatchStatus, i32>>
The number of speech transcription results in the overall test.
end_to_end_result_counts: HashMap<TestResultMatchStatus, i32>
The number of results that succeeded.
Implementations§
source§impl OverallTestResultItem
impl OverallTestResultItem
sourcepub fn multi_turn_conversation(&self) -> bool
pub fn multi_turn_conversation(&self) -> bool
Indicates whether the conversation contains multiple turns or not.
sourcepub fn total_result_count(&self) -> i32
pub fn total_result_count(&self) -> i32
The total number of overall results in the result of the test execution.
sourcepub fn speech_transcription_result_counts(
&self
) -> Option<&HashMap<TestResultMatchStatus, i32>>
pub fn speech_transcription_result_counts( &self ) -> Option<&HashMap<TestResultMatchStatus, i32>>
The number of speech transcription results in the overall test.
sourcepub fn end_to_end_result_counts(&self) -> &HashMap<TestResultMatchStatus, i32>
pub fn end_to_end_result_counts(&self) -> &HashMap<TestResultMatchStatus, i32>
The number of results that succeeded.
source§impl OverallTestResultItem
impl OverallTestResultItem
sourcepub fn builder() -> OverallTestResultItemBuilder
pub fn builder() -> OverallTestResultItemBuilder
Creates a new builder-style object to manufacture OverallTestResultItem
.
Trait Implementations§
source§impl Clone for OverallTestResultItem
impl Clone for OverallTestResultItem
source§fn clone(&self) -> OverallTestResultItem
fn clone(&self) -> OverallTestResultItem
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 OverallTestResultItem
impl Debug for OverallTestResultItem
source§impl PartialEq for OverallTestResultItem
impl PartialEq for OverallTestResultItem
source§fn eq(&self, other: &OverallTestResultItem) -> bool
fn eq(&self, other: &OverallTestResultItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OverallTestResultItem
Auto Trait Implementations§
impl RefUnwindSafe for OverallTestResultItem
impl Send for OverallTestResultItem
impl Sync for OverallTestResultItem
impl Unpin for OverallTestResultItem
impl UnwindSafe for OverallTestResultItem
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.