Struct rs_es::operations::search::aggregations::Cardinality [] [src]

pub struct Cardinality<'a> {
    // some fields omitted
}

Cardinality aggregation

Methods

impl<'a> Cardinality<'a>

fn new<F: Into<FieldOrScript<'a>>>(fos: F) -> Cardinality<'a>

fn with_precision_threshold<T: Into<u64>>(self, val: T) -> Self

fn with_rehash<T: Into<bool>>(self, val: T) -> Self

Trait Implementations

impl<'a> ToJson for Cardinality<'a>

fn to_json(&self) -> Json

Derived Implementations

impl<'a> Debug for Cardinality<'a>

fn fmt(&self, __arg_0: &mut Formatter) -> Result