Struct twitter_stream::place::Place [] [src]

pub struct Place {
    pub attributes: Attributes,
    pub bounding_box: Geometry,
    pub country: String,
    pub country_code: String,
    pub full_name: String,
    pub id: PlaceId,
    pub name: String,
    pub place_type: String,
    pub url: String,
}

Represents place field in Tweet.

Reference

  1. Places — Twitter Developers

Fields

Contains a hash of variant information about the place. See Place Attributes for more detail.

A bounding box of coordinates which encloses this place.

Name of the country containing this place.

Shortened country code representing the country containing this place.

Full human-readable representation of the place’s name.

ID representing this place. Note that this is represented as a string, not an integer.

Short human-readable representation of the place’s name.

The type of location represented by this place.

URL representing the location of additional place metadata for this place.

Trait Implementations

impl Clone for Place
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Place
[src]

Formats the value using the given formatter.

impl PartialEq for Place
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.