[][src]Struct tweet::UserMention

pub struct UserMention {
    pub id: Option<u64>,
    pub id_str: Option<String>,
    pub indices: Vec<u32>,
    pub name: Option<String>,
    pub screen_name: String,
}

Represents a @mention of a user

Fields

id: Option<u64>

Id of the user being mentioned

id_str: Option<String>

Id of the user being mentioned, but a string

indices: Vec<u32>

Indices in the tweet where this mention is located

name: Option<String>

Name of the user being mentioned

screen_name: String

Screen name of the user being mentioned

Trait Implementations

impl Debug for UserMention[src]

impl Serialize for UserMention[src]

impl<'de> Deserialize<'de> for UserMention[src]

Auto Trait Implementations

impl Send for UserMention

impl Sync for UserMention

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]