PitSymbolMap::get_for_rec
Get the symbol mapping for a record.
Info
This method is part of the SymbolIndex trait, so you must import the trait to call this method.
Parameters
| Parameter | Type | Description |
|---|---|---|
record | Record | The record to fetch a symbol mapping for. |
Returns
Option<&String>
The corresponding text symbol for the record's instrument ID.
API method
pub fn get_for_rec<R: Record>(&self, record: &R) -> Option<&String>;