Struct twitter_stream_message::place::Place
[−]
[src]
pub struct Place<'a> {
pub attributes: Attributes<'a>,
pub bounding_box: Geometry,
pub country: Cow<'a, str>,
pub country_code: Cow<'a, str>,
pub full_name: Cow<'a, str>,
pub id: PlaceId<'a>,
pub name: Cow<'a, str>,
pub place_type: Cow<'a, str>,
pub url: Cow<'a, str>,
}Fields
attributes: Attributes<'a>
Contains a hash of variant information about the place. See Place Attributes for more detail.
bounding_box: Geometry
A bounding box of coordinates which encloses this place.
country: Cow<'a, str>
Name of the country containing this place.
country_code: Cow<'a, str>
Shortened country code representing the country containing this place.
full_name: Cow<'a, str>
Full human-readable representation of the place’s name.
id: PlaceId<'a>
ID representing this place. Note that this is represented as a string, not an integer.
name: Cow<'a, str>
Short human-readable representation of the place’s name.
place_type: Cow<'a, str>
The type of location represented by this place.
url: Cow<'a, str>
URL representing the location of additional place metadata for this place.
Trait Implementations
impl<'a> Clone for Place<'a>[src]
fn clone(&self) -> Place<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more