Function pyo3::impl_::frompyobject::extract_struct_field

source ·
pub fn extract_struct_field<'py, T>(
    obj: &Bound<'py, PyAny>,
    struct_name: &str,
    field_name: &str
) -> PyResult<T>
where T: FromPyObject<'py>,
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here