Skip to main content

cid_to_cloid

Function cid_to_cloid 

Source
pub fn cid_to_cloid(cid: &ClientOrderId) -> Option<Uuid>
Expand description

Convert a ClientOrderId to SDK cloid format (UUID) if valid.

Returns Some(Uuid) if the cid is a valid UUID, None otherwise. Non-UUID CIDs are logged at debug level since they’re common in tests/examples.