Struct aws_sdk_cloudsearch::model::IntOptions
source · [−]#[non_exhaustive]pub struct IntOptions {
pub default_value: Option<i64>,
pub source_field: Option<String>,
pub facet_enabled: Option<bool>,
pub search_enabled: Option<bool>,
pub return_enabled: Option<bool>,
pub sort_enabled: Option<bool>,
}Expand description
Options for a 64-bit signed integer field. Present if IndexFieldType specifies the field is of type int. All options are enabled by default.
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.default_value: Option<i64>A value to use for the field if the field isn’t specified for a document. This can be important if you are using the field in an expression and that field is not present in every document.
source_field: Option<String>The name of the source field to map to the field.
facet_enabled: Option<bool>Whether facet information can be returned for the field.
search_enabled: Option<bool>Whether the contents of the field are searchable.
return_enabled: Option<bool>Whether the contents of the field can be returned in the search results.
sort_enabled: Option<bool>Whether the field can be used to sort the search results.
Implementations
A value to use for the field if the field isn’t specified for a document. This can be important if you are using the field in an expression and that field is not present in every document.
The name of the source field to map to the field.
Whether facet information can be returned for the field.
Whether the contents of the field are searchable.
Whether the contents of the field can be returned in the search results.
Whether the field can be used to sort the search results.
Creates a new builder-style object to manufacture IntOptions
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 IntOptions
impl Send for IntOptions
impl Sync for IntOptions
impl Unpin for IntOptions
impl UnwindSafe for IntOptions
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