Struct rusoto_cloudsearch::TextOptions [−][src]
pub struct TextOptions { pub analysis_scheme: Option<String>, pub default_value: Option<String>, pub highlight_enabled: Option<bool>, pub return_enabled: Option<bool>, pub sort_enabled: Option<bool>, pub source_field: Option<String>, }
Options for text field. Present if IndexFieldType
specifies the field is of type text
. A text
field is always searchable. All options are enabled by default.
Fields
analysis_scheme: Option<String>
The name of an analysis scheme for a text
field.
default_value: Option<String>
A value to use for the field if the field isn't specified for a document.
highlight_enabled: Option<bool>
Whether highlights can be returned for the field.
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.
source_field: Option<String>
Trait Implementations
impl Default for TextOptions
[src]
impl Default for TextOptions
fn default() -> TextOptions
[src]
fn default() -> TextOptions
Returns the "default value" for a type. Read more
impl Debug for TextOptions
[src]
impl Debug for TextOptions
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 TextOptions
[src]
impl Clone for TextOptions
fn clone(&self) -> TextOptions
[src]
fn clone(&self) -> TextOptions
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 TextOptions
[src]
impl PartialEq for TextOptions
fn eq(&self, other: &TextOptions) -> bool
[src]
fn eq(&self, other: &TextOptions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TextOptions) -> bool
[src]
fn ne(&self, other: &TextOptions) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for TextOptions
impl Send for TextOptions
impl Sync for TextOptions
impl Sync for TextOptions