Enum egg_mode::place::Accuracy
[−]
[src]
pub enum Accuracy { Meters(f64), Feet(f64), }
Represents the accuracy of a GPS measurement, when being given to a location search.
Variants
Meters(f64)
Location accurate to the given number of meters.
Feet(f64)
Location accurate to the given number of feet.
Trait Implementations
impl Debug for Accuracy
[src]
impl Copy for Accuracy
[src]
impl Clone for Accuracy
[src]
fn clone(&self) -> Accuracy
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Display for Accuracy
[src]
Display impl to make to_string()
format the enum for sending to Twitter. This turns Meters
into the contained number by itself, and Feet
into the number suffixed by "ft"
.