#[repr(C)]pub struct RecordHeader {
pub length: u8,
pub rtype: u8,
pub publisher_id: u16,
pub product_id: u32,
pub ts_event: u64,
}Expand description
Common data for all Databento records.
Fields§
§length: u8The length of the message in 32-bit words.
rtype: u8The record type; with 0x00..0x0F specifying booklevel size. Record
types implement the trait ConstTypeId, which contains a constant
ID specific to that record type.
publisher_id: u16The publisher ID assigned by Databento.
product_id: u32The product ID assigned by the venue.
ts_event: u64The matching engine received timestamp expressed as number of nanoseconds since UNIX epoch.
Trait Implementations§
Source§impl Clone for RecordHeader
impl Clone for RecordHeader
Source§fn clone(&self) -> RecordHeader
fn clone(&self) -> RecordHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecordHeader
impl Debug for RecordHeader
Source§impl PartialEq for RecordHeader
impl PartialEq for RecordHeader
impl Eq for RecordHeader
impl StructuralPartialEq for RecordHeader
Auto Trait Implementations§
impl Freeze for RecordHeader
impl RefUnwindSafe for RecordHeader
impl Send for RecordHeader
impl Sync for RecordHeader
impl Unpin for RecordHeader
impl UnwindSafe for RecordHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more