RecordRef::header

Get a reference to the RecordHeader which is found at the start of every DBN record. This provides some basic information about the record like instrument ID without first determining its type.

Info

This method is part of the Record trait, so you must import the trait to call this method.

Returns

An immutable reference to the record's header (RecordHeader).

API method
pub fn header(&self) -> &'a RecordHeader;