Struct aws_sdk_lexmodelsv2::types::SampleValue
source · #[non_exhaustive]pub struct SampleValue {
pub value: String,
}Expand description
Defines one of the values for a slot type.
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: StringThe value that can be used for a slot type.
Implementations§
source§impl SampleValue
impl SampleValue
sourcepub fn builder() -> SampleValueBuilder
pub fn builder() -> SampleValueBuilder
Creates a new builder-style object to manufacture SampleValue.
Trait Implementations§
source§impl Clone for SampleValue
impl Clone for SampleValue
source§fn clone(&self) -> SampleValue
fn clone(&self) -> SampleValue
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 SampleValue
impl Debug for SampleValue
source§impl PartialEq for SampleValue
impl PartialEq for SampleValue
source§fn eq(&self, other: &SampleValue) -> bool
fn eq(&self, other: &SampleValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SampleValue
Auto Trait Implementations§
impl Freeze for SampleValue
impl RefUnwindSafe for SampleValue
impl Send for SampleValue
impl Sync for SampleValue
impl Unpin for SampleValue
impl UnwindSafe for SampleValue
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.