#[non_exhaustive]pub struct ConversationLevelSlotResolutionResultItem {
pub intent_name: String,
pub slot_name: String,
pub match_result: TestResultMatchStatus,
}Expand description
The slots used for the slot resolution in the conversation.
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: StringThe intents used in the slots list for the slot resolution details.
slot_name: StringThe slot name in the slots list for the slot resolution details.
match_result: TestResultMatchStatusThe number of matching slots used in the slots listings for the slot resolution evaluation.
Implementations§
source§impl ConversationLevelSlotResolutionResultItem
impl ConversationLevelSlotResolutionResultItem
sourcepub fn intent_name(&self) -> &str
pub fn intent_name(&self) -> &str
The intents used in the slots list for the slot resolution details.
sourcepub fn slot_name(&self) -> &str
pub fn slot_name(&self) -> &str
The slot name in the slots list for the slot resolution details.
sourcepub fn match_result(&self) -> &TestResultMatchStatus
pub fn match_result(&self) -> &TestResultMatchStatus
The number of matching slots used in the slots listings for the slot resolution evaluation.
source§impl ConversationLevelSlotResolutionResultItem
impl ConversationLevelSlotResolutionResultItem
sourcepub fn builder() -> ConversationLevelSlotResolutionResultItemBuilder
pub fn builder() -> ConversationLevelSlotResolutionResultItemBuilder
Creates a new builder-style object to manufacture ConversationLevelSlotResolutionResultItem.
Trait Implementations§
source§impl Clone for ConversationLevelSlotResolutionResultItem
impl Clone for ConversationLevelSlotResolutionResultItem
source§fn clone(&self) -> ConversationLevelSlotResolutionResultItem
fn clone(&self) -> ConversationLevelSlotResolutionResultItem
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 ConversationLevelSlotResolutionResultItem
impl PartialEq for ConversationLevelSlotResolutionResultItem
source§fn eq(&self, other: &ConversationLevelSlotResolutionResultItem) -> bool
fn eq(&self, other: &ConversationLevelSlotResolutionResultItem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConversationLevelSlotResolutionResultItem
Auto Trait Implementations§
impl Freeze for ConversationLevelSlotResolutionResultItem
impl RefUnwindSafe for ConversationLevelSlotResolutionResultItem
impl Send for ConversationLevelSlotResolutionResultItem
impl Sync for ConversationLevelSlotResolutionResultItem
impl Unpin for ConversationLevelSlotResolutionResultItem
impl UnwindSafe for ConversationLevelSlotResolutionResultItem
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.