Struct elastic_types::geo::mapping::Distance []

pub struct Distance(pub f32, pub DistanceUnit);

A distance value paired with a unit of measure.

Trait Implementations

impl ToString for Distance

Converts the given value to a String. Read more

impl Serialize for Distance

Serialize this value into the given Serde serializer. Read more