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

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

Geohash aggregation

Methods

impl<'a> GeoHash<'a>

fn new(field: &'a str) -> GeoHash<'a>

fn with_precision<T: Into<u64>>(self, val: T) -> Self

fn with_size<T: Into<u64>>(self, val: T) -> Self

fn with_shard_size<T: Into<u64>>(self, val: T) -> Self

Trait Implementations

impl<'a> ToJson for GeoHash<'a>

fn to_json(&self) -> Json

Derived Implementations

impl<'a> Debug for GeoHash<'a>

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