use std::rc::Rc; #[derive(Clone)] pub struct PlainMetadata { pub name: String, pub entries: Vec>, } #[derive(Clone)] pub struct PlainMetadataEntry { pub key: Option, pub value: Rc, } #[derive(Clone)] pub enum PlainMetadataValue { String(String), Number(f64), Boolean(bool), File { filename: String, data: Vec, }, Collection(Vec>), }