pub enum NautilusDataType {
Show 14 variants
Custom {
type_name: String,
},
Instrument,
OrderBookDelta,
OrderBookDepth,
QuoteTick,
TradeTick,
Bar,
MarkPriceUpdate,
IndexPriceUpdate,
FundingRateUpdate,
OptionGreeks,
InstrumentStatus,
InstrumentClose,
Defi,
}Expand description
Data family selector used by request and catalog APIs.
This is a type-level descriptor, not a decoded data value. Data::BookDeltas maps to
NautilusDataType::OrderBookDelta because both share the same storage and request family.
Variants§
Custom
User-defined data type identified by type_name.
Instrument
Instrument definitions.
OrderBookDelta
Order book deltas, single or batched.
OrderBookDepth
Order book depth snapshots.
QuoteTick
Quote ticks.
TradeTick
Trade ticks.
Bar
Aggregated bars.
MarkPriceUpdate
Mark price updates.
IndexPriceUpdate
Index price updates.
FundingRateUpdate
Funding rate updates.
OptionGreeks
Option greeks.
InstrumentStatus
Instrument status updates.
InstrumentClose
Instrument closes.
Defi
Decentralized finance data.
Implementations§
Trait Implementations§
Source§impl Clone for NautilusDataType
impl Clone for NautilusDataType
Source§impl Debug for NautilusDataType
impl Debug for NautilusDataType
Source§impl<'de> Deserialize<'de> for NautilusDataType
impl<'de> Deserialize<'de> for NautilusDataType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NautilusDataType
impl Display for NautilusDataType
impl Eq for NautilusDataType
Source§impl FromStr for NautilusDataType
impl FromStr for NautilusDataType
Source§impl Hash for NautilusDataType
impl Hash for NautilusDataType
Source§impl PartialEq for NautilusDataType
impl PartialEq for NautilusDataType
Source§impl Serialize for NautilusDataType
impl Serialize for NautilusDataType
impl StructuralPartialEq for NautilusDataType
Auto Trait Implementations§
impl Freeze for NautilusDataType
impl RefUnwindSafe for NautilusDataType
impl Send for NautilusDataType
impl Sync for NautilusDataType
impl Unpin for NautilusDataType
impl UnsafeUnpin for NautilusDataType
impl UnwindSafe for NautilusDataType
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more