#[non_exhaustive]pub enum HeaderStyle {
None,
PathArray,
}Expand description
Control what information is retained for individual result documents
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
No information is retained.
PathArray
The path to the child document is retained.
{"a": {"H": 6}, "b": {"H": 7}} would become,
with the default formatter and a target of 1,
{"key":["a"],"value":{"H":6}} and
{"key":["b"],"value":{"H":6}}
Trait Implementations§
Source§impl Clone for HeaderStyle
impl Clone for HeaderStyle
Source§fn clone(&self) -> HeaderStyle
fn clone(&self) -> HeaderStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HeaderStyle
impl Eq for HeaderStyle
Source§impl PartialEq for HeaderStyle
impl PartialEq for HeaderStyle
impl StructuralPartialEq for HeaderStyle
Auto Trait Implementations§
impl Freeze for HeaderStyle
impl RefUnwindSafe for HeaderStyle
impl Send for HeaderStyle
impl Sync for HeaderStyle
impl Unpin for HeaderStyle
impl UnsafeUnpin for HeaderStyle
impl UnwindSafe for HeaderStyle
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