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

Location accurate to the given number of meters.

Location accurate to the given number of feet.

Trait Implementations

impl Debug for Accuracy
[src]

[src]

Formats the value using the given formatter.

impl Copy for Accuracy
[src]

impl Clone for Accuracy
[src]

[src]

Returns a copy of the value. Read more

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".

[src]

Formats the value using the given formatter. Read more