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

A coordinate with no area.

A region within a city.

An entire city.

An administrative area, e.g. state or province.

An entire country.

Trait Implementations

impl Debug for PlaceType
[src]

[src]

Formats the value using the given formatter.

impl Copy for PlaceType
[src]

impl Clone for PlaceType
[src]

[src]

Returns a copy of the value. Read more

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.

[src]

Formats the value using the given formatter. Read more