Enum rs_es::query::Precision [] [src]

pub enum Precision {
    Geohash(u64),
    Distance(Distance),
}

Variants

Geohash
Distance

Trait Implementations

impl From<u64> for Precision

fn from(from: u64) -> Precision

impl From<Distance> for Precision

fn from(from: Distance) -> Precision

impl ToJson for Precision

fn to_json(&self) -> Json

Derived Implementations

impl Debug for Precision

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