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

pub struct DateHistogram<'a> { /* fields omitted */ }

Methods

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

pub fn new<I>(field: &'a str, interval: I) -> Self where
    I: Into<Interval>, 
[src]

pub fn with_time_zone<T: Into<TimeZone<'a>>>(self, val: T) -> Self[src]

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

pub fn with_format<T: Into<&'a str>>(self, val: T) -> Self[src]

Trait Implementations

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

impl<'a> Default for DateHistogram<'a>[src]

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for DateHistogram<'a>

impl<'a> Send for DateHistogram<'a>

impl<'a> Sync for DateHistogram<'a>

impl<'a> Unpin for DateHistogram<'a>

impl<'a> UnwindSafe for DateHistogram<'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