[][src]Struct tweet::Entity

pub struct Entity {
    pub hashtags: Vec<Hashtag>,
    pub urls: Vec<Url>,
    pub user_mentions: Vec<UserMention>,
    pub symbols: Vec<Symbol>,
    pub media: Option<Vec<Media>>,
    pub polls: Option<Vec<Poll>>,
}

Contains information on various parsed out pieces of tweets

Fields

hashtags: Vec<Hashtag>

Collection of hashtags that were included in this tweet

urls: Vec<Url>

List of links that were included in this tweet

user_mentions: Vec<UserMention>

List of users mentioned in this tweet

symbols: Vec<Symbol>

List of symbols in this tweet

media: Option<Vec<Media>>

List of any media added to this tweet

polls: Option<Vec<Poll>>

List of any polls added to this tweet

Trait Implementations

impl Debug for Entity[src]

impl Serialize for Entity[src]

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

Auto Trait Implementations

impl Send for Entity

impl Sync for Entity

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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]