Struct rs_es::query::Distance [] [src]

pub struct Distance {
    // some fields omitted
}

Methods

impl Distance

fn new(amt: f64, unit: DistanceUnit) -> Distance

Trait Implementations

impl ToJson for Distance

fn to_json(&self) -> Json

Derived Implementations

impl Debug for Distance

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