use std::rc::Rc; use std::sync::Arc; use dxr::chrono::NaiveDateTime; use dxr::{TryFromValue, TryToValue}; #[derive(TryFromValue, TryToValue)] pub struct Ownership { string: String, int: i32, long: i64, boolean: bool, double: f64, tuple: (String, i32, i64, bool, f64, Vec), byte_vec: Vec, datetime: NaiveDateTime, option: Option, recursive: Box, counted: Rc, atomically: Arc>, } fn main() {}