pub enum TermsInclude {
Regex(String),
Exact(Vec<String>),
Partitions {
partition: u32,
num_partitions: u32,
},
}
Expand description
Filter the values for which buckets will be created.
Variants§
Regex(String)
Filter buckets by their regular expression pattern.
Exact(Vec<String>)
Filter buckets by their exact value.
Partitions
A number of partitions at query-time and processing only one partition in each request.
Trait Implementations§
Source§impl Clone for TermsInclude
impl Clone for TermsInclude
Source§fn clone(&self) -> TermsInclude
fn clone(&self) -> TermsInclude
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 TermsInclude
impl Debug for TermsInclude
Source§impl From<&[&str]> for TermsInclude
impl From<&[&str]> for TermsInclude
Source§impl From<&str> for TermsInclude
impl From<&str> for TermsInclude
Source§impl From<String> for TermsInclude
impl From<String> for TermsInclude
Source§impl PartialEq for TermsInclude
impl PartialEq for TermsInclude
Source§impl Serialize for TermsInclude
impl Serialize for TermsInclude
impl StructuralPartialEq for TermsInclude
Auto Trait Implementations§
impl Freeze for TermsInclude
impl RefUnwindSafe for TermsInclude
impl Send for TermsInclude
impl Sync for TermsInclude
impl Unpin for TermsInclude
impl UnwindSafe for TermsInclude
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