nautilus_databento::decode

Function decode_record

Source
pub fn decode_record(
    record: &RecordRef<'_>,
    instrument_id: InstrumentId,
    price_precision: u8,
    ts_init: Option<UnixNanos>,
    include_trades: bool,
) -> Result<(Option<Data>, Option<Data>)>