Struct rusoto_cloudsearch::DoubleOptions [−][src]
pub struct DoubleOptions { pub default_value: Option<f64>, pub facet_enabled: Option<bool>, pub return_enabled: Option<bool>, pub search_enabled: Option<bool>, pub sort_enabled: Option<bool>, pub source_field: Option<String>, }
Options for a double-precision 64-bit floating point field. Present if IndexFieldType
specifies the field is of type double
. All options are enabled by default.
Fields
default_value: Option<f64>
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.
facet_enabled: Option<bool>
Whether facet information can be returned for the field.
return_enabled: Option<bool>
Whether the contents of the field can be returned in the search results.
search_enabled: Option<bool>
Whether the contents of the field are searchable.
sort_enabled: Option<bool>
Whether the field can be used to sort the search results.
source_field: Option<String>
The name of the source field to map to the field.
Trait Implementations
impl Default for DoubleOptions
[src]
impl Default for DoubleOptions
fn default() -> DoubleOptions
[src]
fn default() -> DoubleOptions
Returns the "default value" for a type. Read more
impl Debug for DoubleOptions
[src]
impl Debug for DoubleOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for DoubleOptions
[src]
impl Clone for DoubleOptions
fn clone(&self) -> DoubleOptions
[src]
fn clone(&self) -> DoubleOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for DoubleOptions
[src]
impl PartialEq for DoubleOptions
fn eq(&self, other: &DoubleOptions) -> bool
[src]
fn eq(&self, other: &DoubleOptions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DoubleOptions) -> bool
[src]
fn ne(&self, other: &DoubleOptions) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for DoubleOptions
impl Send for DoubleOptions
impl Sync for DoubleOptions
impl Sync for DoubleOptions