[][src]Struct rs_es::operations::search::aggregations::bucket::Range

pub struct Range<'a>(_);

Range aggregations

The keyed option will always be used.

https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-range-aggregation.html

Methods

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

pub fn with_keyed<B: Into<bool>>(self, keyed: B) -> Self[src]

pub fn with_ranges<R>(self, ranges: R) -> Self where
    R: Into<Vec<RangeInst<'a>>>, 
[src]

impl<'a> Range<'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]

Trait Implementations

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

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

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

Auto Trait Implementations

impl<'a> Send for Range<'a>

impl<'a> Sync for Range<'a>

Blanket Implementations

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

impl<T> From<T> for 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T

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

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