Struct rs_es::operations::search::aggregations::metrics::Percentiles [] [src]

pub struct Percentiles<'a>(_);

Percentiles aggregation, see: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-percentile-aggregation.html

Examples

use rs_es::operations::search::aggregations::metrics::Percentiles;

let p1 = Percentiles::field("field_name").with_compression(100u64);
let p2 = Percentiles::field("field_name").with_percents(vec![10.0, 20.0]);

Methods

impl<'a> Percentiles<'a>
[src]

impl<'a> Percentiles<'a>
[src]

Trait Implementations

impl<'a> Debug for Percentiles<'a>
[src]

Formats the value using the given formatter.

impl<'a> Serialize for Percentiles<'a>
[src]

Serializes this value into this serializer.