use std::collections::HashMap; use dxr::chrono::NaiveDateTime; use dxr::{TryFromValue, TryToValue}; #[derive(TryToValue)] pub struct ToCollectibles<'a> { strings: Vec, ints: [i32; 42], longs: Vec, booleans: [bool; 69], doubles: Vec, tuples: (Vec, [i32; 4]), byte_array: [u8; 16], datetimes: Vec, options: [Option; 24], map: HashMap<&'a str, [bool; 12]>, recursive: [Box>; 2], } #[derive(TryFromValue, TryToValue)] pub struct Collectibles { strings: Vec, ints: Vec, longs: Vec, booleans: [bool; 69], doubles: Vec, tuples: (Vec, Vec), datetimes: Vec, options: Vec>, map: HashMap>, recursive: Vec, } fn main() {}