#[non_exhaustive]pub struct ConversationLevelIntentClassificationResultItem {
pub intent_name: Option<String>,
pub match_result: Option<TestResultMatchStatus>,
}Expand description
The item listing the evaluation of intent level success or failure.
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.intent_name: Option<String>The intent name used in the evaluation of intent level success or failure.
match_result: Option<TestResultMatchStatus>The number of times the specific intent is used in the evaluation of intent level success or failure.
Implementations§
source§impl ConversationLevelIntentClassificationResultItem
impl ConversationLevelIntentClassificationResultItem
sourcepub fn intent_name(&self) -> Option<&str>
pub fn intent_name(&self) -> Option<&str>
The intent name used in the evaluation of intent level success or failure.
sourcepub fn match_result(&self) -> Option<&TestResultMatchStatus>
pub fn match_result(&self) -> Option<&TestResultMatchStatus>
The number of times the specific intent is used in the evaluation of intent level success or failure.
source§impl ConversationLevelIntentClassificationResultItem
impl ConversationLevelIntentClassificationResultItem
sourcepub fn builder() -> ConversationLevelIntentClassificationResultItemBuilder
pub fn builder() -> ConversationLevelIntentClassificationResultItemBuilder
Creates a new builder-style object to manufacture ConversationLevelIntentClassificationResultItem.
Trait Implementations§
source§impl Clone for ConversationLevelIntentClassificationResultItem
impl Clone for ConversationLevelIntentClassificationResultItem
source§fn clone(&self) -> ConversationLevelIntentClassificationResultItem
fn clone(&self) -> ConversationLevelIntentClassificationResultItem
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 PartialEq for ConversationLevelIntentClassificationResultItem
impl PartialEq for ConversationLevelIntentClassificationResultItem
source§fn eq(&self, other: &ConversationLevelIntentClassificationResultItem) -> bool
fn eq(&self, other: &ConversationLevelIntentClassificationResultItem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConversationLevelIntentClassificationResultItem
Auto Trait Implementations§
impl RefUnwindSafe for ConversationLevelIntentClassificationResultItem
impl Send for ConversationLevelIntentClassificationResultItem
impl Sync for ConversationLevelIntentClassificationResultItem
impl Unpin for ConversationLevelIntentClassificationResultItem
impl UnwindSafe for ConversationLevelIntentClassificationResultItem
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