Enum rs_es::units::Location [] [src]

pub enum Location {
    LatLon(f64f64),
    GeoHash(String),
}

Representing a geographic location

Variants

Trait Implementations

impl Debug for Location
[src]

Formats the value using the given formatter.

impl Default for Location
[src]

Returns the "default value" for a type. Read more

impl Deserialize for Location
[src]

Deserialize this value given this Deserializer.

impl From<(f64, f64)> for Location
[src]

Performs the conversion.

impl From<String> for Location
[src]

Performs the conversion.

impl Serialize for Location
[src]

Serializes this value into this serializer.