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 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 StoredFields
impl Debug for StoredFields
Source§impl Default for StoredFields
impl Default for StoredFields
Source§impl<T> From<T> for StoredFields
impl<T> From<T> for StoredFields
Source§impl PartialEq for StoredFields
impl PartialEq for StoredFields
Source§impl Serialize for StoredFields
impl Serialize for StoredFields
impl Eq for StoredFields
impl StructuralPartialEq for StoredFields
Auto Trait Implementations§
impl Freeze for StoredFields
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