Enum egg_mode::place::PlaceType
[−]
[src]
pub enum PlaceType { Point, Neighborhood, City, Admin, Country, }
Represents the type of region represented by a given place.
Variants
Point
A coordinate with no area.
Neighborhood
A region within a city.
City
An entire city.
Admin
An administrative area, e.g. state or province.
Country
An entire country.
Trait Implementations
impl Debug for PlaceType
[src]
impl Copy for PlaceType
[src]
impl Clone for PlaceType
[src]
fn clone(&self) -> PlaceType
[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 PlaceType
[src]
Display impl to make to_string()
format the enum for sending to Twitter. This is mostly just
a lowercase version of the variants, but Point
is rendered as "poi"
instead.