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

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

Methods

impl<'a> DateHistogram<'a>

fn new<I>(field: &'a str, interval: I) -> DateHistogram<'a> where I: Into<Interval>

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

fn with_offset<T: Into<Duration>>(self, val: T) -> Self

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

Trait Implementations

impl<'a> ToJson for DateHistogram<'a>

fn to_json(&self) -> Json

Derived Implementations

impl<'a> Debug for DateHistogram<'a>

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