pub struct Tweet {Show 34 fields
pub converation_id: String,
pub gifs: Vec<GIF>,
pub hash_tags: Vec<String>,
pub html: String,
pub id: String,
pub in_reply_to_status: Option<Box<Tweet>>,
pub in_reply_to_status_id: Option<String>,
pub is_quoted: bool,
pub is_pin: bool,
pub is_reply: bool,
pub is_retweet: bool,
pub is_self_thread: bool,
pub likes: i128,
pub name: String,
pub mentions: Vec<Mention>,
pub permanent_url: String,
pub photos: Vec<Photo>,
pub place: Option<Place>,
pub quoted_status: Option<Box<Tweet>>,
pub quoted_status_id: Option<String>,
pub replies: i128,
pub retweets: i128,
pub retweeted_status: Option<Box<Tweet>>,
pub retweeted_status_id: String,
pub text: String,
pub thread: Vec<Box<Tweet>>,
pub time_parsed: DateTime<FixedOffset>,
pub timestamp: i64,
pub urls: Vec<String>,
pub user_id: String,
pub username: String,
pub videos: Vec<Video>,
pub views: i128,
pub sensitive_content: bool,
}
Fields§
§converation_id: String
§gifs: Vec<GIF>
§html: String
§id: String
§in_reply_to_status: Option<Box<Tweet>>
§in_reply_to_status_id: Option<String>
§is_quoted: bool
§is_pin: bool
§is_reply: bool
§is_retweet: bool
§is_self_thread: bool
§likes: i128
§name: String
§mentions: Vec<Mention>
§permanent_url: String
§photos: Vec<Photo>
§place: Option<Place>
§quoted_status: Option<Box<Tweet>>
§quoted_status_id: Option<String>
§replies: i128
§retweets: i128
§retweeted_status: Option<Box<Tweet>>
§retweeted_status_id: String
§text: String
§thread: Vec<Box<Tweet>>
§time_parsed: DateTime<FixedOffset>
§timestamp: i64
§urls: Vec<String>
§user_id: String
§username: String
§videos: Vec<Video>
§views: i128
§sensitive_content: bool
Auto Trait Implementations§
impl Freeze for Tweet
impl RefUnwindSafe for Tweet
impl Send for Tweet
impl Sync for Tweet
impl Unpin for Tweet
impl UnwindSafe for Tweet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more