Struct twitter_stream::entities::Url [] [src]

pub struct Url {
    pub display_url: String,
    pub expanded_url: String,
    pub indices: (u64, u64),
    pub url: String,
}

Represents a URL in urls field of Entities.

Fields

Version of the URL to display to clients.

Expanded version of display_url.

A pair of integers representing offsets within the Tweet text where the URL begins and ends. The first integer represents the location of the first character of the URL in the Tweet text. The second integer represents the location of the first non-URL character after the end of the URL.

Wrapped URL, corresponding to the value embedded directly into the raw Tweet text, and the values for the indices parameter.

Trait Implementations

impl Clone for Url
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Url
[src]

Formats the value using the given formatter.

impl Eq for Url
[src]

impl PartialEq for Url
[src]

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

This method tests for !=.

impl Hash for Url
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more