#[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 get_percentile_value(&self) -> &Option<f64>
pub fn get_percentile_value(&self) -> &Option<f64>
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 for PercentileAggregationBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for PercentileAggregationBuilder
Auto Trait Implementations§
impl Freeze for PercentileAggregationBuilder
impl RefUnwindSafe for PercentileAggregationBuilder
impl Send for PercentileAggregationBuilder
impl Sync for PercentileAggregationBuilder
impl Unpin for PercentileAggregationBuilder
impl UnwindSafe for PercentileAggregationBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.