/* * Tests basic types usage */ use dict_derive::IntoPyObject; #[derive(IntoPyObject)] pub struct User { name: String, email: String, age: u16, } use std::option; #[derive(IntoPyObject)] pub struct OptionalUser { name: Option, email: option::Option, age: std::option::Option, } #[derive(IntoPyObject)] pub struct Nested { users: Vec, optional_user: Option, } fn main() {}