use serde::{Deserialize, Serialize}; use std::error::Error; #[derive(Serialize, Debug)] pub struct Tweet {} #[derive(Deserialize, Debug)] pub struct TweetResponse {} /// This function uploads media from Mastodon to Twitter and returns the media id from Twitter #[allow(dead_code)] pub async fn upload_media(_u: &str) -> Result> { Ok(0) } /// This posts Tweets with all the associated medias #[allow(dead_code)] pub async fn post_tweet(_content: &str, _medias: &[u64]) -> Result> { Ok(0) }