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>,
}

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<'a> Clone for Place<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for Place<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for Place<'a>
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl<'a> Send for Place<'a>

impl<'a> Sync for Place<'a>