#[non_exhaustive]pub struct PercentileAggregationBuilder { /* private fields */ }Expand description
A builder for PercentileAggregation.
Implementations§
source§impl PercentileAggregationBuilder
impl PercentileAggregationBuilder
sourcepub fn percentile_value(self, input: f64) -> Self
pub fn percentile_value(self, input: f64) -> Self
The percentile value. This value can be any numeric constant 0–100. A percentile value of 50 computes the median value of the measure.
sourcepub fn set_percentile_value(self, input: Option<f64>) -> Self
pub fn set_percentile_value(self, input: Option<f64>) -> Self
The percentile value. This value can be any numeric constant 0–100. A percentile value of 50 computes the median value of the measure.
sourcepub fn build(self) -> PercentileAggregation
pub fn build(self) -> PercentileAggregation
Consumes the builder and constructs a PercentileAggregation.
Trait Implementations§
source§impl Clone for PercentileAggregationBuilder
impl Clone for PercentileAggregationBuilder
source§fn clone(&self) -> PercentileAggregationBuilder
fn clone(&self) -> PercentileAggregationBuilder
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 PercentileAggregationBuilder
impl Debug for PercentileAggregationBuilder
source§impl Default for PercentileAggregationBuilder
impl Default for PercentileAggregationBuilder
source§fn default() -> PercentileAggregationBuilder
fn default() -> PercentileAggregationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PercentileAggregationBuilder> for PercentileAggregationBuilder
impl PartialEq<PercentileAggregationBuilder> for PercentileAggregationBuilder
source§fn eq(&self, other: &PercentileAggregationBuilder) -> bool
fn eq(&self, other: &PercentileAggregationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.