Struct aws_sdk_cloudsearch::types::IntArrayOptions
source · #[non_exhaustive]pub struct IntArrayOptions {
pub default_value: Option<i64>,
pub source_fields: Option<String>,
pub facet_enabled: Option<bool>,
pub search_enabled: Option<bool>,
pub return_enabled: Option<bool>,
}Expand description
Options for a field that contains an array of 64-bit signed integers. Present if IndexFieldType specifies the field is of type int-array. 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.
source_fields: Option<String>A list of source fields 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.
Implementations§
source§impl IntArrayOptions
impl IntArrayOptions
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.
sourcepub fn source_fields(&self) -> Option<&str>
pub fn source_fields(&self) -> Option<&str>
A list of source fields 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.
source§impl IntArrayOptions
impl IntArrayOptions
sourcepub fn builder() -> IntArrayOptionsBuilder
pub fn builder() -> IntArrayOptionsBuilder
Creates a new builder-style object to manufacture IntArrayOptions.
Trait Implementations§
source§impl Clone for IntArrayOptions
impl Clone for IntArrayOptions
source§fn clone(&self) -> IntArrayOptions
fn clone(&self) -> IntArrayOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IntArrayOptions
impl Debug for IntArrayOptions
source§impl PartialEq for IntArrayOptions
impl PartialEq for IntArrayOptions
source§fn eq(&self, other: &IntArrayOptions) -> bool
fn eq(&self, other: &IntArrayOptions) -> bool
self and other values to be equal, and is used
by ==.