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