Struct aws_sdk_cloudsearch::model::DoubleOptions
source · [−]#[non_exhaustive]pub struct DoubleOptions { /* private fields */ }Expand description
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.
Implementations
sourceimpl DoubleOptions
impl DoubleOptions
sourcepub fn default_value(&self) -> Option<f64>
pub fn default_value(&self) -> 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.
sourcepub fn source_field(&self) -> Option<&str>
pub fn source_field(&self) -> Option<&str>
The name of the source field to map to the field.
sourcepub fn facet_enabled(&self) -> Option<bool>
pub fn facet_enabled(&self) -> Option<bool>
Whether facet information can be returned for the field.
sourcepub fn search_enabled(&self) -> Option<bool>
pub fn search_enabled(&self) -> Option<bool>
Whether the contents of the field are searchable.
sourcepub fn return_enabled(&self) -> Option<bool>
pub fn return_enabled(&self) -> Option<bool>
Whether the contents of the field can be returned in the search results.
sourcepub fn sort_enabled(&self) -> Option<bool>
pub fn sort_enabled(&self) -> Option<bool>
Whether the field can be used to sort the search results.
sourceimpl DoubleOptions
impl DoubleOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DoubleOptions.
Trait Implementations
sourceimpl Clone for DoubleOptions
impl Clone for DoubleOptions
sourcefn clone(&self) -> DoubleOptions
fn clone(&self) -> DoubleOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for DoubleOptions
impl Debug for DoubleOptions
sourceimpl PartialEq<DoubleOptions> for DoubleOptions
impl PartialEq<DoubleOptions> for DoubleOptions
sourcefn eq(&self, other: &DoubleOptions) -> bool
fn eq(&self, other: &DoubleOptions) -> bool
impl StructuralPartialEq for DoubleOptions
Auto Trait Implementations
impl RefUnwindSafe for DoubleOptions
impl Send for DoubleOptions
impl Sync for DoubleOptions
impl Unpin for DoubleOptions
impl UnwindSafe for DoubleOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more