Struct aws_sdk_lexmodelsv2::types::TestSetTurnResult
source · #[non_exhaustive]pub struct TestSetTurnResult {
pub agent: Option<AgentTurnResult>,
pub user: Option<UserTurnResult>,
}Expand description
Contains information about the results of the analysis of a turn in the test set.
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.agent: Option<AgentTurnResult>Contains information about the agent messages in the turn.
user: Option<UserTurnResult>Contains information about the user messages in the turn.
Implementations§
source§impl TestSetTurnResult
impl TestSetTurnResult
sourcepub fn agent(&self) -> Option<&AgentTurnResult>
pub fn agent(&self) -> Option<&AgentTurnResult>
Contains information about the agent messages in the turn.
sourcepub fn user(&self) -> Option<&UserTurnResult>
pub fn user(&self) -> Option<&UserTurnResult>
Contains information about the user messages in the turn.
source§impl TestSetTurnResult
impl TestSetTurnResult
sourcepub fn builder() -> TestSetTurnResultBuilder
pub fn builder() -> TestSetTurnResultBuilder
Creates a new builder-style object to manufacture TestSetTurnResult.
Trait Implementations§
source§impl Clone for TestSetTurnResult
impl Clone for TestSetTurnResult
source§fn clone(&self) -> TestSetTurnResult
fn clone(&self) -> TestSetTurnResult
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 TestSetTurnResult
impl Debug for TestSetTurnResult
source§impl PartialEq for TestSetTurnResult
impl PartialEq for TestSetTurnResult
source§fn eq(&self, other: &TestSetTurnResult) -> bool
fn eq(&self, other: &TestSetTurnResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TestSetTurnResult
Auto Trait Implementations§
impl Freeze for TestSetTurnResult
impl RefUnwindSafe for TestSetTurnResult
impl Send for TestSetTurnResult
impl Sync for TestSetTurnResult
impl Unpin for TestSetTurnResult
impl UnwindSafe for TestSetTurnResult
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.