Expand description
PyO3’s PyAny as a serde data format
This crate provides a mapping from serde data model to Python objects.
Re-exports§
pub use pyo3;
Macros§
- pydict
- Create
pyo3::types::PyDictfrom a list of key-value pairs. - pylist
- Create
pyo3::types::PyListfrom a list of values.
Structs§
- Error
- New-type wrapper of
PyErrto implementserde::ser::Error.
Functions§
- from_
pyobject - Deserialize a Python object into Rust type
T: Deserialize. - to_
pyobject - Serialize
T: Serializeinto apyo3::PyAnyvalue.