Struct aws_sdk_cloudsearch::model::IntOptions
source · #[non_exhaustive]pub struct IntOptions { /* private fields */ }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.
Implementations§
source§impl IntOptions
impl IntOptions
sourcepub fn default_value(&self) -> Option<i64>
pub fn default_value(&self) -> 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.
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.
source§impl IntOptions
impl IntOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture IntOptions.
Trait Implementations§
source§impl Clone for IntOptions
impl Clone for IntOptions
source§fn clone(&self) -> IntOptions
fn clone(&self) -> IntOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for IntOptions
impl Debug for IntOptions
source§impl PartialEq<IntOptions> for IntOptions
impl PartialEq<IntOptions> for IntOptions
source§fn eq(&self, other: &IntOptions) -> bool
fn eq(&self, other: &IntOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.