use serde::Serialize;
#[derive(Debug, Serialize)]
pub struct Tweet {
pub id: u128,
pub id_str: String,
pub created_at: String,
pub created_at_ts: i64,
pub user: User,
pub full_text: String,
pub images: Vec<String>,
pub links: Vec<String>,
pub retweet: bool,
pub reply: bool,
pub quote: bool,
pub pinned: bool,
pub stats: Stats,
}
#[derive(Debug, Serialize)]
pub struct User {
pub full_name: String,
pub screen_name: String,
}
#[derive(Debug, Serialize)]
pub struct Stats {
pub comment: u64,
pub retweet: u64,
pub quote: u64,
pub heart: u64,
}