1 2 3 4 5 6 7 8 9 10 11
pub type Catalog = CatalogType; #[derive(Debug)] pub struct CatalogType { pub title: String, pub entry: Vec<CatalogEntryType>, } #[derive(Debug)] pub struct CatalogEntryType { pub key: String, pub value: Option<String>, }