pub struct DoubleArrayOptions {
pub default_value: Option<f64>,
pub facet_enabled: Option<bool>,
pub return_enabled: Option<bool>,
pub search_enabled: Option<bool>,
pub source_fields: Option<String>,
}Expand description
Options for a field that contains an array of double-precision 64-bit floating point values. Present if IndexFieldType specifies the field is of type double-array. 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.
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.
source_fields: Option<String>A list of source fields to map to the field.
Trait Implementations§
Source§impl Clone for DoubleArrayOptions
impl Clone for DoubleArrayOptions
Source§fn clone(&self) -> DoubleArrayOptions
fn clone(&self) -> DoubleArrayOptions
Returns a duplicate 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 DoubleArrayOptions
impl Debug for DoubleArrayOptions
Source§impl Default for DoubleArrayOptions
impl Default for DoubleArrayOptions
Source§fn default() -> DoubleArrayOptions
fn default() -> DoubleArrayOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for DoubleArrayOptions
impl PartialEq for DoubleArrayOptions
impl StructuralPartialEq for DoubleArrayOptions
Auto Trait Implementations§
impl Freeze for DoubleArrayOptions
impl RefUnwindSafe for DoubleArrayOptions
impl Send for DoubleArrayOptions
impl Sync for DoubleArrayOptions
impl Unpin for DoubleArrayOptions
impl UnsafeUnpin for DoubleArrayOptions
impl UnwindSafe for DoubleArrayOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more