pub enum ChannelMessage {
Heartbeat,
Status(SingleResponse<StatusUpdate>),
Execution(Response<Vec<ExecutionResult>>),
Balance(Response<BalanceResponse>),
Trade(MarketDataResponse<Vec<Trade>>),
Ticker(SingleResponse<Ticker>),
Ohlc(MarketDataResponse<Vec<Ohlc>>),
Instrument(MarketDataResponse<Instruments>),
Orderbook(SingleResponse<L2>),
L3(SingleResponse<L3>),
}
Variants§
Heartbeat
Status(SingleResponse<StatusUpdate>)
Execution(Response<Vec<ExecutionResult>>)
Balance(Response<BalanceResponse>)
Trade(MarketDataResponse<Vec<Trade>>)
Ticker(SingleResponse<Ticker>)
Ohlc(MarketDataResponse<Vec<Ohlc>>)
Instrument(MarketDataResponse<Instruments>)
Orderbook(SingleResponse<L2>)
L3(SingleResponse<L3>)
Trait Implementations§
Source§impl Debug for ChannelMessage
impl Debug for ChannelMessage
Source§impl<'de> Deserialize<'de> for ChannelMessage
impl<'de> Deserialize<'de> for ChannelMessage
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 PartialEq for ChannelMessage
impl PartialEq for ChannelMessage
impl StructuralPartialEq for ChannelMessage
Auto Trait Implementations§
impl Freeze for ChannelMessage
impl RefUnwindSafe for ChannelMessage
impl Send for ChannelMessage
impl Sync for ChannelMessage
impl Unpin for ChannelMessage
impl UnwindSafe for ChannelMessage
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