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

pub struct Cardinality<'a>(_);

Cardinality aggregation

Methods

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

pub fn field(field: &'a str) -> Self[src]

pub fn script<S: Into<Script<'a>>>(script: S) -> Self[src]

pub fn with_script<S: Into<Script<'a>>>(self, script: S) -> Self[src]

pub fn with_missing<J: Into<JsonVal>>(self, missing: J) -> Self[src]

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

pub fn with_precision_threshold<T: Into<u64>>(self, val: T) -> Self[src]

pub fn with_rehash<T: Into<bool>>(self, val: T) -> Self[src]

Trait Implementations

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

impl<'a> From<Cardinality<'a>> for Aggregation<'a>[src]

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for Cardinality<'a>

impl<'a> Send for Cardinality<'a>

impl<'a> Sync for Cardinality<'a>

impl<'a> Unpin for Cardinality<'a>

impl<'a> UnwindSafe for Cardinality<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err