Struct aws_sdk_cloudsearch::input::DefineSuggesterInput [−][src]
#[non_exhaustive]pub struct DefineSuggesterInput {
pub domain_name: Option<String>,
pub suggester: Option<Suggester>,
}Expand description
Container for the parameters to the DefineSuggester operation. Specifies the name of the domain you want to update and the suggester configuration.
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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DefineSuggester, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DefineSuggester, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DefineSuggester>
Creates a new builder-style object to manufacture DefineSuggesterInput
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).
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for DefineSuggesterInput
impl Send for DefineSuggesterInput
impl Sync for DefineSuggesterInput
impl Unpin for DefineSuggesterInput
impl UnwindSafe for DefineSuggesterInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more