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
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.