pub struct VariableWidthHistogramAggregation {
pub initial_buffer: Option<u32>,
pub shard_size: Option<u32>,
pub field: Option<String>,
pub buckets: Option<u32>,
}Fields§
§initial_buffer: Option<u32>Specifies the number of individual documents that will be stored in memory on a shard before the initial bucketing algorithm is run.
Defaults to min(10 * shard_size, 50000).
shard_size: Option<u32>The number of buckets that the coordinating node will request from each shard.
Defaults to buckets * 50.
field: Option<String>The path to a field or an array of paths. Some APIs support wildcards in the path, which allows you to select multiple fields.
buckets: Option<u32>The target number of buckets.
Implementations§
Trait Implementations§
Source§impl Clone for VariableWidthHistogramAggregation
impl Clone for VariableWidthHistogramAggregation
Source§fn clone(&self) -> VariableWidthHistogramAggregation
fn clone(&self) -> VariableWidthHistogramAggregation
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 moreSource§impl Default for VariableWidthHistogramAggregation
impl Default for VariableWidthHistogramAggregation
Source§fn default() -> VariableWidthHistogramAggregation
fn default() -> VariableWidthHistogramAggregation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VariableWidthHistogramAggregation
impl<'de> Deserialize<'de> for VariableWidthHistogramAggregation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VariableWidthHistogramAggregation
impl PartialEq for VariableWidthHistogramAggregation
Source§fn eq(&self, other: &VariableWidthHistogramAggregation) -> bool
fn eq(&self, other: &VariableWidthHistogramAggregation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VariableWidthHistogramAggregation
Auto Trait Implementations§
impl Freeze for VariableWidthHistogramAggregation
impl RefUnwindSafe for VariableWidthHistogramAggregation
impl Send for VariableWidthHistogramAggregation
impl Sync for VariableWidthHistogramAggregation
impl Unpin for VariableWidthHistogramAggregation
impl UnsafeUnpin for VariableWidthHistogramAggregation
impl UnwindSafe for VariableWidthHistogramAggregation
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