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: boolIndicates whether the conversation contains multiple turns or not.
total_result_count: i32The 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 Freeze for OverallTestResultItem
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.