#[non_exhaustive]pub struct TestSetDiscrepancyErrors {
pub intent_discrepancies: Vec<TestSetIntentDiscrepancyItem>,
pub slot_discrepancies: Vec<TestSetSlotDiscrepancyItem>,
}Expand description
Contains details about the errors in the test set discrepancy report
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_discrepancies: Vec<TestSetIntentDiscrepancyItem>Contains information about discrepancies found for intents between the test set and the bot.
slot_discrepancies: Vec<TestSetSlotDiscrepancyItem>Contains information about discrepancies found for slots between the test set and the bot.
Implementations§
source§impl TestSetDiscrepancyErrors
impl TestSetDiscrepancyErrors
sourcepub fn intent_discrepancies(&self) -> &[TestSetIntentDiscrepancyItem]
pub fn intent_discrepancies(&self) -> &[TestSetIntentDiscrepancyItem]
Contains information about discrepancies found for intents between the test set and the bot.
sourcepub fn slot_discrepancies(&self) -> &[TestSetSlotDiscrepancyItem]
pub fn slot_discrepancies(&self) -> &[TestSetSlotDiscrepancyItem]
Contains information about discrepancies found for slots between the test set and the bot.
source§impl TestSetDiscrepancyErrors
impl TestSetDiscrepancyErrors
sourcepub fn builder() -> TestSetDiscrepancyErrorsBuilder
pub fn builder() -> TestSetDiscrepancyErrorsBuilder
Creates a new builder-style object to manufacture TestSetDiscrepancyErrors.
Trait Implementations§
source§impl Clone for TestSetDiscrepancyErrors
impl Clone for TestSetDiscrepancyErrors
source§fn clone(&self) -> TestSetDiscrepancyErrors
fn clone(&self) -> TestSetDiscrepancyErrors
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 TestSetDiscrepancyErrors
impl Debug for TestSetDiscrepancyErrors
source§impl PartialEq for TestSetDiscrepancyErrors
impl PartialEq for TestSetDiscrepancyErrors
source§fn eq(&self, other: &TestSetDiscrepancyErrors) -> bool
fn eq(&self, other: &TestSetDiscrepancyErrors) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TestSetDiscrepancyErrors
Auto Trait Implementations§
impl Freeze for TestSetDiscrepancyErrors
impl RefUnwindSafe for TestSetDiscrepancyErrors
impl Send for TestSetDiscrepancyErrors
impl Sync for TestSetDiscrepancyErrors
impl Unpin for TestSetDiscrepancyErrors
impl UnwindSafe for TestSetDiscrepancyErrors
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.