1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
pub mod array; pub mod item_value; use crate::model::{ layer210::{BasicString, LiteralString, LiteralValue}, layer225::{InlineTable, KeyValue}, }; /// It has multiple item values. /// 複数の項目値を持ちます。 #[derive(Clone)] pub struct Array { items: Vec<ItemValue>, } /// Array, inline table item. /// 配列、インライン・テーブルの項目です。 #[derive(Clone)] pub enum ItemValue { /// Recursive. /// 再帰的。 Array(Array), BasicString(BasicString), /// Recursive. /// 再帰的。 InlineTable(InlineTable), /// Recursive. /// 再帰的。 KeyValue(KeyValue), LiteralValue(LiteralValue), LiteralString(LiteralString), }