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