1 2 3 4 5 6 7
use pyo3::{FromPyObject}; #[derive(Clone, Debug, Default, FromPyObject, PartialEq)] //#[pyo3(transparent)] pub struct Name { pub id: String, }