use std::collections::HashMap; use namegen::Name; #[derive(Serialize)] #[serde(rename_all = "camelCase")] pub struct Output { pub name: String, pub metadata: HashMap, pub data: Name, pub examples: HashMap>, } #[derive(Serialize)] #[serde(rename_all = "camelCase")] pub struct Collection { pub items: Vec, } #[derive(Serialize)] #[serde(rename_all = "camelCase")] pub struct CollectionItem { pub name: String, pub metadata: HashMap, }