pyobject_to_order_event

Function pyobject_to_order_event 

Source
pub fn pyobject_to_order_event(
    py: Python<'_>,
    order_event: Py<PyAny>,
) -> 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.