#[non_exhaustive]pub struct ConversationLevelTestResultItem {
pub conversation_id: String,
pub end_to_end_result: TestResultMatchStatus,
pub speech_transcription_result: Option<TestResultMatchStatus>,
pub intent_classification_results: Vec<ConversationLevelIntentClassificationResultItem>,
pub slot_resolution_results: Vec<ConversationLevelSlotResolutionResultItem>,
}Expand description
The test result evaluation item at the conversation level.
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.conversation_id: StringThe conversation Id of the test result evaluation item.
end_to_end_result: TestResultMatchStatusThe end-to-end success or failure of the test result evaluation item.
speech_transcription_result: Option<TestResultMatchStatus>The speech transcription success or failure of the test result evaluation item.
intent_classification_results: Vec<ConversationLevelIntentClassificationResultItem>The intent classification of the test result evaluation item.
slot_resolution_results: Vec<ConversationLevelSlotResolutionResultItem>The slot success or failure of the test result evaluation item.
Implementations§
source§impl ConversationLevelTestResultItem
impl ConversationLevelTestResultItem
sourcepub fn conversation_id(&self) -> &str
pub fn conversation_id(&self) -> &str
The conversation Id of the test result evaluation item.
sourcepub fn end_to_end_result(&self) -> &TestResultMatchStatus
pub fn end_to_end_result(&self) -> &TestResultMatchStatus
The end-to-end success or failure of the test result evaluation item.
sourcepub fn speech_transcription_result(&self) -> Option<&TestResultMatchStatus>
pub fn speech_transcription_result(&self) -> Option<&TestResultMatchStatus>
The speech transcription success or failure of the test result evaluation item.
sourcepub fn intent_classification_results(
&self,
) -> &[ConversationLevelIntentClassificationResultItem]
pub fn intent_classification_results( &self, ) -> &[ConversationLevelIntentClassificationResultItem]
The intent classification of the test result evaluation item.
sourcepub fn slot_resolution_results(
&self,
) -> &[ConversationLevelSlotResolutionResultItem]
pub fn slot_resolution_results( &self, ) -> &[ConversationLevelSlotResolutionResultItem]
The slot success or failure of the test result evaluation item.
source§impl ConversationLevelTestResultItem
impl ConversationLevelTestResultItem
sourcepub fn builder() -> ConversationLevelTestResultItemBuilder
pub fn builder() -> ConversationLevelTestResultItemBuilder
Creates a new builder-style object to manufacture ConversationLevelTestResultItem.
Trait Implementations§
source§impl Clone for ConversationLevelTestResultItem
impl Clone for ConversationLevelTestResultItem
source§fn clone(&self) -> ConversationLevelTestResultItem
fn clone(&self) -> ConversationLevelTestResultItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ConversationLevelTestResultItem
impl PartialEq for ConversationLevelTestResultItem
source§fn eq(&self, other: &ConversationLevelTestResultItem) -> bool
fn eq(&self, other: &ConversationLevelTestResultItem) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConversationLevelTestResultItem
Auto Trait Implementations§
impl Freeze for ConversationLevelTestResultItem
impl RefUnwindSafe for ConversationLevelTestResultItem
impl Send for ConversationLevelTestResultItem
impl Sync for ConversationLevelTestResultItem
impl Unpin for ConversationLevelTestResultItem
impl UnwindSafe for ConversationLevelTestResultItem
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> 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)
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>
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