use super::tags::Tag; use super::traits::Trait; #[derive(Debug)] pub struct Names { pub romaji: String, pub japanese: String, pub aliases: Vec, } #[derive(Debug)] pub struct Images { pub thumb: String, pub full: String, } #[derive(Debug)] pub struct Traits { pub official: Vec, pub indexed: Vec, } #[derive(Debug)] pub struct Character { pub name: Names, pub image: Images, pub tags: Vec, pub traits: Traits, pub role: Option }