Struct rs_es::operations::search::aggregations::bucket::DateRange
[−]
[src]
pub struct DateRange<'a>(_);
Date range aggregation. See: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-daterange-aggregation.html
Methods
impl<'a> DateRange<'a>
[src]
fn with_format<T: Into<&'a str>>(self, val: T) -> Self
fn with_ranges<A: Into<Vec<DateRangeInst<'a>>>>(self, ranges: A) -> Self
impl<'a> DateRange<'a>
[src]
fn field(field: &'a str) -> Self
fn script<S: Into<Script<'a>>>(script: S) -> Self
fn with_script<S: Into<Script<'a>>>(self, script: S) -> Self
fn with_missing<J: Into<JsonVal>>(self, missing: J) -> Self
Trait Implementations
impl<'a> Debug for DateRange<'a>
[src]
impl<'a> Serialize for DateRange<'a>
[src]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer
Serializes this value into this serializer.