Struct rs_es::operations::search::aggregations::metrics::Stats
[−]
[src]
pub struct Stats<'a>(_);
Stats aggregation
Methods
impl<'a> Stats<'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 Stats<'a>
[src]
impl<'a> Serialize for Stats<'a>
[src]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer
Serializes this value into this serializer.