pub fn decode_currency_pair_batch(
metadata: &HashMap<String, String>,
record_batch: &RecordBatch,
) -> Result<Vec<CurrencyPair>, EncodingError>Expand description
Decodes [CurrencyPair] instruments from a record batch.
Not a DecodeFromRecordBatch implementation because that trait requires Into<Data>.
ยงErrors
Returns an EncodingError if the record batch cannot be decoded.