Enum rs_es::units::Location
[−]
[src]
pub enum Location { LatLon(f64, f64), GeoHash(String), }
Representing a geographic location
Variants
LatLon(f64, f64)
GeoHash(String)
Trait Implementations
impl Debug for Location
[src]
impl Default for Location
[src]
impl Deserialize for Location
[src]
fn deserialize<D>(deserializer: &mut D) -> Result<Self, D::Error> where D: Deserializer
Deserialize this value given this Deserializer
.
impl From<(f64, f64)> for Location
[src]
impl From<String> for Location
[src]
impl Serialize for Location
[src]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer
Serializes this value into this serializer.