pub struct DateArrayOptions {
pub default_value: Option<String>,
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 dates. Present if IndexFieldType specifies the field is of type date-array. All options are enabled by default.
Fields§
§default_value: Option<String>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 DateArrayOptions
impl Clone for DateArrayOptions
Source§fn clone(&self) -> DateArrayOptions
fn clone(&self) -> DateArrayOptions
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 DateArrayOptions
impl Debug for DateArrayOptions
Source§impl Default for DateArrayOptions
impl Default for DateArrayOptions
Source§fn default() -> DateArrayOptions
fn default() -> DateArrayOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for DateArrayOptions
impl PartialEq for DateArrayOptions
impl StructuralPartialEq for DateArrayOptions
Auto Trait Implementations§
impl Freeze for DateArrayOptions
impl RefUnwindSafe for DateArrayOptions
impl Send for DateArrayOptions
impl Sync for DateArrayOptions
impl Unpin for DateArrayOptions
impl UnsafeUnpin for DateArrayOptions
impl UnwindSafe for DateArrayOptions
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