1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
pub mod errors; pub mod instapaper; use errors::SourceError; #[derive(Debug, Clone, clap::ValueEnum)] pub enum Sources { Instapaper, } #[derive(Debug)] pub struct Bookmark { pub id: i64, pub url: String, pub tags: Vec<String>, }