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
display_url: String
Version of the URL to display to clients.
expanded_url: String
Expanded version of display_url
.
indices: (u64, u64)
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.
url: String
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]
fn clone(&self) -> Url
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
impl Debug for Url
[src]
impl Eq for Url
[src]
impl PartialEq for Url
[src]
fn eq(&self, __arg_0: &Url) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Url) -> bool
This method tests for !=
.