Struct egg_mode::place::Place [] [src]

pub struct Place {
    pub id: String,
    pub attributes: HashMap<String, String>,
    pub bounding_box: Vec<(f64, f64)>,
    pub country: String,
    pub country_code: String,
    pub full_name: String,
    pub name: String,
    pub place_type: PlaceType,
    pub contained_within: Option<Vec<Place>>,
}

Represents a named location.

Fields

Alphanumeric ID of the location.

Map of miscellaneous information about this place. See Twitter's documentation for details and common attribute keys.

A bounding box of latitude/longitude coordinates that encloses this place.

Name of the country containing this place.

Shortened country code representing the country containing this place.

Full human-readable name of this place.

Short human-readable name of this place.

The type of location represented by this place.

If present, the country or administrative region that contains this place.

Trait Implementations

impl Debug for Place
[src]

[src]

Formats the value using the given formatter.

impl Clone for Place
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more