pub fn pyobject_to_order_event(
py: Python<'_>,
order_event: PyObject,
) -> PyResult<OrderEventAny>
Expand description
Converts a Python object into an OrderEventAny
enum.
ยงErrors
Returns a PyErr
if extraction fails or the event type is unsupported.