Struct aws_sdk_lexmodelsv2::types::SlotDefaultValue
source · #[non_exhaustive]pub struct SlotDefaultValue {
pub default_value: String,
}Expand description
Specifies the default value to use when a user doesn't provide a value for a slot.
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.default_value: StringThe default value to use when a user doesn't provide a value for a slot.
Implementations§
source§impl SlotDefaultValue
impl SlotDefaultValue
sourcepub fn default_value(&self) -> &str
pub fn default_value(&self) -> &str
The default value to use when a user doesn't provide a value for a slot.
source§impl SlotDefaultValue
impl SlotDefaultValue
sourcepub fn builder() -> SlotDefaultValueBuilder
pub fn builder() -> SlotDefaultValueBuilder
Creates a new builder-style object to manufacture SlotDefaultValue.
Trait Implementations§
source§impl Clone for SlotDefaultValue
impl Clone for SlotDefaultValue
source§fn clone(&self) -> SlotDefaultValue
fn clone(&self) -> SlotDefaultValue
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 SlotDefaultValue
impl Debug for SlotDefaultValue
source§impl PartialEq for SlotDefaultValue
impl PartialEq for SlotDefaultValue
source§fn eq(&self, other: &SlotDefaultValue) -> bool
fn eq(&self, other: &SlotDefaultValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SlotDefaultValue
Auto Trait Implementations§
impl Freeze for SlotDefaultValue
impl RefUnwindSafe for SlotDefaultValue
impl Send for SlotDefaultValue
impl Sync for SlotDefaultValue
impl Unpin for SlotDefaultValue
impl UnwindSafe for SlotDefaultValue
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.