Enum elasticsearch_dsl::search::queries::params::StoredFields
source · pub enum StoredFields {
None,
Fields(BTreeSet<String>),
}
Expand description
It’s also possible to store an individual field’s values by using the store mapping option.
https://www.elastic.co/guide/en/elasticsearch/reference/8.8/search-fields.html#stored-fields
Variants§
None
To disable the stored fields (and metadata fields) entirely use: _none_
Fields(BTreeSet<String>)
Allows to selectively load specific stored fields for each document represented by a search hit.
Trait Implementations§
source§impl Clone for StoredFields
impl Clone for StoredFields
source§fn clone(&self) -> StoredFields
fn clone(&self) -> StoredFields
Returns a copy 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 StoredFields
impl Debug for StoredFields
source§impl Default for StoredFields
impl Default for StoredFields
source§impl<T> From<T> for StoredFieldswhere
T: IntoIterator,
T::Item: ToString,
impl<T> From<T> for StoredFieldswhere T: IntoIterator, T::Item: ToString,
source§impl PartialEq<StoredFields> for StoredFields
impl PartialEq<StoredFields> for StoredFields
source§fn eq(&self, other: &StoredFields) -> bool
fn eq(&self, other: &StoredFields) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StoredFields
impl Serialize for StoredFields
impl Eq for StoredFields
impl StructuralEq for StoredFields
impl StructuralPartialEq for StoredFields
Auto Trait Implementations§
impl RefUnwindSafe for StoredFields
impl Send for StoredFields
impl Sync for StoredFields
impl Unpin for StoredFields
impl UnwindSafe for StoredFields
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