Struct aws_sdk_lexmodelsv2::types::UserTurnSlotOutput
source · #[non_exhaustive]pub struct UserTurnSlotOutput {
pub value: Option<String>,
pub values: Option<Vec<UserTurnSlotOutput>>,
pub sub_slots: Option<HashMap<String, UserTurnSlotOutput>>,
}Expand description
Contains information about a slot output by the test set execution.
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.value: Option<String>The value output by the slot recognition.
values: Option<Vec<UserTurnSlotOutput>>Values that are output by the slot recognition.
sub_slots: Option<HashMap<String, UserTurnSlotOutput>>A list of items mapping the name of the subslots to information about those subslots.
Implementations§
source§impl UserTurnSlotOutput
impl UserTurnSlotOutput
sourcepub fn values(&self) -> Option<&[UserTurnSlotOutput]>
pub fn values(&self) -> Option<&[UserTurnSlotOutput]>
Values that are output by the slot recognition.
source§impl UserTurnSlotOutput
impl UserTurnSlotOutput
sourcepub fn builder() -> UserTurnSlotOutputBuilder
pub fn builder() -> UserTurnSlotOutputBuilder
Creates a new builder-style object to manufacture UserTurnSlotOutput.
Trait Implementations§
source§impl Clone for UserTurnSlotOutput
impl Clone for UserTurnSlotOutput
source§fn clone(&self) -> UserTurnSlotOutput
fn clone(&self) -> UserTurnSlotOutput
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 UserTurnSlotOutput
impl Debug for UserTurnSlotOutput
source§impl PartialEq for UserTurnSlotOutput
impl PartialEq for UserTurnSlotOutput
source§fn eq(&self, other: &UserTurnSlotOutput) -> bool
fn eq(&self, other: &UserTurnSlotOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UserTurnSlotOutput
Auto Trait Implementations§
impl RefUnwindSafe for UserTurnSlotOutput
impl Send for UserTurnSlotOutput
impl Sync for UserTurnSlotOutput
impl Unpin for UserTurnSlotOutput
impl UnwindSafe for UserTurnSlotOutput
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