pub enum RecordEnum {
Show 15 variants
Mbo(MboMsg),
Trade(TradeMsg),
Mbp1(Mbp1Msg),
Mbp10(Mbp10Msg),
Ohlcv(OhlcvMsg),
Status(StatusMsg),
InstrumentDef(InstrumentDefMsg),
Imbalance(ImbalanceMsg),
Stat(StatMsg),
Error(ErrorMsg),
SymbolMapping(SymbolMappingMsg),
System(SystemMsg),
Cmbp1(Cmbp1Msg),
Bbo(BboMsg),
Cbbo(CbboMsg),
}Expand description
An owned DBN record type of flexible type. Unlike RecordRef, this type allows
matching.
Note: this type does not support ts_out.
Variants§
Mbo(MboMsg)
An market-by-order message.
Trade(TradeMsg)
A trade message.
Mbp1(Mbp1Msg)
A market-by-price message with a book depth of 1.
Mbp10(Mbp10Msg)
A market-by-price message with a book depth of 10.
Ohlcv(OhlcvMsg)
An open, high, low, close, and volume message.
Status(StatusMsg)
A trading status message.
InstrumentDef(InstrumentDefMsg)
An instrument definition message.
Imbalance(ImbalanceMsg)
An auction imbalance message.
Stat(StatMsg)
A publisher statistic message.
Error(ErrorMsg)
An error message from the Databento Live Subscription Gateway (LSG).
SymbolMapping(SymbolMappingMsg)
A symbol mapping message.
System(SystemMsg)
A non-error message from the Databento Live Subscription Gateway (LSG).
Cmbp1(Cmbp1Msg)
A consolidated best bid and offer message.
Bbo(BboMsg)
A subsampled market-by-price message with a book depth of 1.
Cbbo(CbboMsg)
A subsampled and consolidated market-by-price message with a book depth of 1.
Trait Implementations§
source§impl Clone for RecordEnum
impl Clone for RecordEnum
source§fn clone(&self) -> RecordEnum
fn clone(&self) -> RecordEnum
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RecordEnum
impl Debug for RecordEnum
source§impl<'a> From<&'a RecordEnum> for RecordRef<'a>
impl<'a> From<&'a RecordEnum> for RecordRef<'a>
source§fn from(rec_enum: &'a RecordEnum) -> Self
fn from(rec_enum: &'a RecordEnum) -> Self
source§impl<'a> From<&'a RecordEnum> for RecordRefEnum<'a>
impl<'a> From<&'a RecordEnum> for RecordRefEnum<'a>
source§fn from(rec_enum: &'a RecordEnum) -> Self
fn from(rec_enum: &'a RecordEnum) -> Self
source§impl From<CbboMsg> for RecordEnum
impl From<CbboMsg> for RecordEnum
source§impl From<Cmbp1Msg> for RecordEnum
impl From<Cmbp1Msg> for RecordEnum
source§impl From<ErrorMsg> for RecordEnum
impl From<ErrorMsg> for RecordEnum
source§impl From<ImbalanceMsg> for RecordEnum
impl From<ImbalanceMsg> for RecordEnum
source§fn from(rec: ImbalanceMsg) -> Self
fn from(rec: ImbalanceMsg) -> Self
source§impl From<InstrumentDefMsg> for RecordEnum
impl From<InstrumentDefMsg> for RecordEnum
source§fn from(rec: InstrumentDefMsg) -> Self
fn from(rec: InstrumentDefMsg) -> Self
source§impl From<MboMsg> for RecordEnum
impl From<MboMsg> for RecordEnum
source§impl From<Mbp10Msg> for RecordEnum
impl From<Mbp10Msg> for RecordEnum
source§impl From<Mbp1Msg> for RecordEnum
impl From<Mbp1Msg> for RecordEnum
source§impl From<OhlcvMsg> for RecordEnum
impl From<OhlcvMsg> for RecordEnum
source§impl From<StatMsg> for RecordEnum
impl From<StatMsg> for RecordEnum
source§impl From<StatusMsg> for RecordEnum
impl From<StatusMsg> for RecordEnum
source§impl From<SymbolMappingMsg> for RecordEnum
impl From<SymbolMappingMsg> for RecordEnum
source§fn from(rec: SymbolMappingMsg) -> Self
fn from(rec: SymbolMappingMsg) -> Self
source§impl From<SystemMsg> for RecordEnum
impl From<SystemMsg> for RecordEnum
source§impl From<TradeMsg> for RecordEnum
impl From<TradeMsg> for RecordEnum
source§impl Record for RecordEnum
impl Record for RecordEnum
source§fn header(&self) -> &RecordHeader
fn header(&self) -> &RecordHeader
RecordHeader that comes at the beginning of all
record types.source§fn raw_index_ts(&self) -> u64
fn raw_index_ts(&self) -> u64
source§fn record_size(&self) -> usize
fn record_size(&self) -> usize
source§fn rtype(&self) -> Result<RType>
fn rtype(&self) -> Result<RType>
source§fn publisher(&self) -> Result<Publisher>
fn publisher(&self) -> Result<Publisher>
publisher_id into an enum which is useful for
exhaustive pattern matching. Read moresource§fn index_ts(&self) -> Option<OffsetDateTime>
fn index_ts(&self) -> Option<OffsetDateTime>
None if the primary
timestamp contains the sentinel value for a null timestamp. Read moresource§fn index_date(&self) -> Option<Date>
fn index_date(&self) -> Option<Date>
index_ts()). Returns None if the primary timestamp contains the
sentinel value for a null timestamp.source§impl RecordMut for RecordEnum
impl RecordMut for RecordEnum
source§fn header_mut(&mut self) -> &mut RecordHeader
fn header_mut(&mut self) -> &mut RecordHeader
RecordHeader that comes at the beginning of
all record types.Auto Trait Implementations§
impl Freeze for RecordEnum
impl RefUnwindSafe for RecordEnum
impl Send for RecordEnum
impl Sync for RecordEnum
impl Unpin for RecordEnum
impl UnwindSafe for RecordEnum
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)