[][src]Struct tweetust::models::Tweet

pub struct Tweet {
    pub contributors: Option<Vec<Contributor>>,
    pub coordinates: Option<TweetCoordinates>,
    pub created_at: CreatedAt,
    pub current_user_retweet: Option<CurrentUserRetweet>,
    pub display_text_range: Option<TextRange>,
    pub entities: Option<Box<Entities>>,
    pub extended_entities: Option<ExtendedEntities>,
    pub extended_tweet: Option<Box<CompatExtendedTweet>>,
    pub favorite_count: Option<u32>,
    pub favorited: Option<bool>,
    pub filter_level: Option<FilterLevel>,
    pub full_text: Option<String>,
    pub id: i64,
    pub in_reply_to_screen_name: Option<String>,
    pub in_reply_to_status_id: Option<i64>,
    pub in_reply_to_user_id: Option<i64>,
    pub is_quoted_status: Option<bool>,
    pub lang: Option<String>,
    pub place: Option<Box<Place>>,
    pub possibly_sensitive: Option<bool>,
    pub possibly_sensitive_appealable: Option<bool>,
    pub quoted_status_id: Option<i64>,
    pub quoted_status: Option<Box<Tweet>>,
    pub retweet_count: u32,
    pub retweeted: Option<bool>,
    pub retweeted_status: Option<Box<Tweet>>,
    pub source: String,
    pub text: Option<String>,
    pub truncated: Option<bool>,
    pub user: Option<Box<User>>,
    pub withheld_copyright: Option<bool>,
    pub withheld_in_countries: Option<Vec<String>>,
    pub withheld_scope: Option<String>,
}

Fields

contributors: Option<Vec<Contributor>>coordinates: Option<TweetCoordinates>created_at: CreatedAtcurrent_user_retweet: Option<CurrentUserRetweet>display_text_range: Option<TextRange>entities: Option<Box<Entities>>extended_entities: Option<ExtendedEntities>extended_tweet: Option<Box<CompatExtendedTweet>>favorite_count: Option<u32>favorited: Option<bool>filter_level: Option<FilterLevel>full_text: Option<String>id: i64in_reply_to_screen_name: Option<String>in_reply_to_status_id: Option<i64>in_reply_to_user_id: Option<i64>is_quoted_status: Option<bool>lang: Option<String>place: Option<Box<Place>>possibly_sensitive: Option<bool>possibly_sensitive_appealable: Option<bool>quoted_status_id: Option<i64>quoted_status: Option<Box<Tweet>>retweet_count: u32retweeted: Option<bool>retweeted_status: Option<Box<Tweet>>source: Stringtext: Option<String>truncated: Option<bool>user: Option<Box<User>>withheld_copyright: Option<bool>withheld_in_countries: Option<Vec<String>>withheld_scope: Option<String>

Trait Implementations

impl Clone for Tweet[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Tweet[src]

impl Serialize for Tweet[src]

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

Auto Trait Implementations

impl Send for Tweet

impl Sync for Tweet

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.