Struct twitter_stream::entities::UserMention [] [src]

pub struct UserMention {
    pub id: UserId,
    pub indices: (u64, u64),
    pub name: String,
    pub screen_name: String,
}

Represents a user in user_mentions field of Entities.

Fields

ID of the mentioned user, as an integer.

A pair of integers representing the offsets within the Tweet text where the user reference begins and ends. The first integer represents the location of the ‘@’ character of the user mention. The second integer represents the location of the first non-screenname character following the user mention.

Display name of the referenced user.

Screen name of the referenced user.

Trait Implementations

impl Clone for UserMention
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for UserMention
[src]

Formats the value using the given formatter.

impl Eq for UserMention
[src]

impl PartialEq for UserMention
[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 UserMention
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.