pub enum MarketDataEvent {
LastPrice(LastPrice),
OrderBook(OrderBook),
Trade(Trade),
Kline(Kline),
Raw {
exchange_id: ExchangeId,
payload: RawPayload,
},
}Variants§
Trait Implementations§
Source§impl Clone for MarketDataEvent
impl Clone for MarketDataEvent
Source§fn clone(&self) -> MarketDataEvent
fn clone(&self) -> MarketDataEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MarketDataEvent
impl Debug for MarketDataEvent
Source§impl PartialEq for MarketDataEvent
impl PartialEq for MarketDataEvent
Source§fn eq(&self, other: &MarketDataEvent) -> bool
fn eq(&self, other: &MarketDataEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MarketDataEvent
Auto Trait Implementations§
impl Freeze for MarketDataEvent
impl RefUnwindSafe for MarketDataEvent
impl Send for MarketDataEvent
impl Sync for MarketDataEvent
impl Unpin for MarketDataEvent
impl UnsafeUnpin for MarketDataEvent
impl UnwindSafe for MarketDataEvent
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