Struct MarketEvent
pub struct MarketEvent {
pub venue_ts_utc: Option<DateTime<Utc>>,
pub data: MarketData,
}Expand description
§8.4 — Canonical market data.
The data field carries a typed MarketData enum whose internal
market_type tag satisfies the JOURNAL_SPEC §8.4 discriminant requirement.
Fields§
§venue_ts_utc: Option<DateTime<Utc>>§data: MarketDataTrait Implementations§
§impl Clone for MarketEvent
impl Clone for MarketEvent
§fn clone(&self) -> MarketEvent
fn clone(&self) -> MarketEvent
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for MarketEvent
impl Debug for MarketEvent
§impl<'de> Deserialize<'de> for MarketEvent
impl<'de> Deserialize<'de> for MarketEvent
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MarketEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MarketEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for MarketEvent
impl Serialize for MarketEvent
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for MarketEvent
impl RefUnwindSafe for MarketEvent
impl Send for MarketEvent
impl Sync for MarketEvent
impl Unpin for MarketEvent
impl UnsafeUnpin for MarketEvent
impl UnwindSafe for MarketEvent
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)