Struct aws_sdk_cloudsearch::model::Expression [−][src]
#[non_exhaustive]pub struct Expression {
pub expression_name: Option<String>,
pub expression_value: Option<String>,
}Expand description
A named expression that can be evaluated at search time. Can be used to sort the search results, define other expressions, or return computed information in the search results.
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.expression_name: Option<String>Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
expression_value: Option<String>The expression to evaluate for sorting while processing a search request. The Expression syntax is based on JavaScript expressions. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
Implementations
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
The expression to evaluate for sorting while processing a search request. The Expression syntax is based on JavaScript expressions. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
Creates a new builder-style object to manufacture Expression
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 Expression
impl Send for Expression
impl Sync for Expression
impl Unpin for Expression
impl UnwindSafe for Expression
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
