Skip to main content

encode_fill_report

Function encode_fill_report 

Source
pub fn encode_fill_report(
    report: &FillReport,
) -> Result<EncodedPayload, EncodeError>
Expand description

Encodes a [FillReport] into canonical bytes plus its venue_order_id index and, when present, its client_order_id index.

ยงErrors

Returns EncodeError::Serialize when MessagePack rejects the payload.