Function pyobject_to_order_any
Source pub fn pyobject_to_order_any(
py: Python<'_>,
order: PyObject,
) -> 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.