Generate (or manually write mixins) serialization Python code for all things that make up a Points2D.
The real important part is to test all of this by adding cross-language serialization roundtrip tests that serialize in Python and deserialize in Rust.