pub enum BitmexTableMessage {
Show 18 variants
OrderBookL2 {
action: BitmexAction,
data: Vec<BitmexOrderBookMsg>,
},
OrderBookL2_25 {
action: BitmexAction,
data: Vec<BitmexOrderBookMsg>,
},
OrderBook10 {
action: BitmexAction,
data: Vec<BitmexOrderBook10Msg>,
},
Quote {
action: BitmexAction,
data: Vec<BitmexQuoteMsg>,
},
Trade {
action: BitmexAction,
data: Vec<BitmexTradeMsg>,
},
TradeBin1m {
action: BitmexAction,
data: Vec<BitmexTradeBinMsg>,
},
TradeBin5m {
action: BitmexAction,
data: Vec<BitmexTradeBinMsg>,
},
TradeBin1h {
action: BitmexAction,
data: Vec<BitmexTradeBinMsg>,
},
TradeBin1d {
action: BitmexAction,
data: Vec<BitmexTradeBinMsg>,
},
Instrument {
action: BitmexAction,
data: Vec<BitmexInstrumentMsg>,
},
Order {
action: BitmexAction,
data: Vec<OrderData>,
},
Execution {
action: BitmexAction,
data: Vec<BitmexExecutionMsg>,
},
Position {
action: BitmexAction,
data: Vec<BitmexPositionMsg>,
},
Wallet {
action: BitmexAction,
data: Vec<BitmexWalletMsg>,
},
Margin {
action: BitmexAction,
data: Vec<BitmexMarginMsg>,
},
Funding {
action: BitmexAction,
data: Vec<BitmexFundingMsg>,
},
Insurance {
action: BitmexAction,
data: Vec<BitmexInsuranceMsg>,
},
Liquidation {
action: BitmexAction,
data: Vec<BitmexLiquidationMsg>,
},
}Expand description
Represents table-based messages.
Variants§
OrderBookL2
OrderBookL2_25
OrderBook10
Quote
Trade
TradeBin1m
TradeBin5m
TradeBin1h
TradeBin1d
Instrument
Order
Execution
Position
Wallet
Margin
Funding
Insurance
Liquidation
Trait Implementations§
Source§impl Debug for BitmexTableMessage
impl Debug for BitmexTableMessage
Source§impl<'de> Deserialize<'de> for BitmexTableMessage
impl<'de> Deserialize<'de> for BitmexTableMessage
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 BitmexTableMessage
impl RefUnwindSafe for BitmexTableMessage
impl Send for BitmexTableMessage
impl Sync for BitmexTableMessage
impl Unpin for BitmexTableMessage
impl UnwindSafe for BitmexTableMessage
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
§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§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.