use std::borrow::Cow; use dxr::chrono::NaiveDateTime; use dxr::{TryFromValue, TryToValue}; #[derive(Clone, TryFromValue, TryToValue)] pub struct Moo<'a> { stirr: Cow<'a, str>, string: Cow<'a, String>, int: Cow<'a, i32>, long: Cow<'a, i64>, boolean: Cow<'a, bool>, double: Cow<'a, f64>, tuple: (Cow<'a, String>, Cow<'a, i32>), byte_vec: Cow<'a, Vec>, datetime: Cow<'a, NaiveDateTime>, ref_option: Cow<'a, Option>, option_ref: Option>, recursive: Box>>, } fn main() {}