pub struct MCM {
pub id: Option<u64>,
pub pt: u64,
pub clk: Option<String>,
pub initial_clk: Option<String>,
pub mc: Option<Vec<MarketChange>>,
pub ct: Option<ChangeType>,
pub conflate_ms: Option<u64>,
pub heartbeat_ms: Option<u64>,
pub segment_type: Option<SegmentType>,
pub status: Option<i32>,
}Expand description
Market Change Message (MCM) - price/market data updates.
Fields§
§id: Option<u64>§pt: u64Publish time (epoch millis).
clk: Option<String>Token used for resubscription.
initial_clk: Option<String>Initial clock token (sent on first image).
mc: Option<Vec<MarketChange>>Market changes (None on heartbeat).
ct: Option<ChangeType>Change type.
conflate_ms: Option<u64>Conflation interval in milliseconds.
heartbeat_ms: Option<u64>Heartbeat interval in milliseconds.
segment_type: Option<SegmentType>Segment type for large messages.
status: Option<i32>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MCM
impl<'de> Deserialize<'de> for MCM
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
Auto Trait Implementations§
impl Freeze for MCM
impl RefUnwindSafe for MCM
impl Send for MCM
impl Sync for MCM
impl Unpin for MCM
impl UnsafeUnpin for MCM
impl UnwindSafe for MCM
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more