Module convert
Expand description
SDK → core OrderIntent conversion.
The SDK sdk::OrderIntent is self-contained (carries
venue_id and instrument_id), while the journal’s
platform_core::events::OrderIntent relies on the
EngineEvent envelope for
venue_id/instrument_id. This module converts between the two
representations.
Structs§
- Converted
Intent - Result of converting an SDK intent to core form, with the extracted envelope fields.
Enums§
- Convert
Error - Errors from SDK→core intent conversion.
Functions§
- convert_
sdk_ intent - Convert an SDK
OrderIntentinto the journal’s core representation, extracting venue_id and instrument_id for the envelope.