Skip to main content

pyobject_to_order_any

Function pyobject_to_order_any 

Source
pub fn pyobject_to_order_any(
    py: Python<'_>,
    order: Py<PyAny>,
) -> PyResult<OrderAny>
Expand description

Converts a Python order object into an OrderAny enum.

ยงErrors

Returns a PyErr if extraction fails or the order type is unsupported.