#[non_exhaustive]pub struct DefineSuggesterInput {
pub domain_name: Option<String>,
pub suggester: Option<Suggester>,
}
Expand description
Container for the parameters to the
operation. Specifies the name of the domain you want to update and the suggester configuration.DefineSuggester
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.domain_name: Option<String>
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
suggester: Option<Suggester>
Configuration information for a search suggester. Each suggester has a unique name and specifies the text field you want to use for suggestions. The following options can be configured for a suggester: FuzzyMatching
, SortExpression
.
Implementations§
source§impl DefineSuggesterInput
impl DefineSuggesterInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
source§impl DefineSuggesterInput
impl DefineSuggesterInput
sourcepub fn builder() -> DefineSuggesterInputBuilder
pub fn builder() -> DefineSuggesterInputBuilder
Creates a new builder-style object to manufacture DefineSuggesterInput
.
Trait Implementations§
source§impl Clone for DefineSuggesterInput
impl Clone for DefineSuggesterInput
source§fn clone(&self) -> DefineSuggesterInput
fn clone(&self) -> DefineSuggesterInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DefineSuggesterInput
impl Debug for DefineSuggesterInput
source§impl PartialEq for DefineSuggesterInput
impl PartialEq for DefineSuggesterInput
source§fn eq(&self, other: &DefineSuggesterInput) -> bool
fn eq(&self, other: &DefineSuggesterInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DefineSuggesterInput
Auto Trait Implementations§
impl Freeze for DefineSuggesterInput
impl RefUnwindSafe for DefineSuggesterInput
impl Send for DefineSuggesterInput
impl Sync for DefineSuggesterInput
impl Unpin for DefineSuggesterInput
impl UnwindSafe for DefineSuggesterInput
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
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>
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>
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 more