Enum bybit::model::WebsocketEvents
source · pub enum WebsocketEvents {
OrderBookEvent(OrderBookUpdate),
TradeEvent(TradeUpdate),
TickerEvent(WsTicker),
LiquidationEvent(Liquidation),
KlineEvent(WsKline),
PositionEvent(PositionEvent),
ExecutionEvent(Execution),
OrderEvent(OrderEvent),
Wallet(WalletEvent),
}Variants§
OrderBookEvent(OrderBookUpdate)
TradeEvent(TradeUpdate)
TickerEvent(WsTicker)
LiquidationEvent(Liquidation)
KlineEvent(WsKline)
PositionEvent(PositionEvent)
ExecutionEvent(Execution)
OrderEvent(OrderEvent)
Wallet(WalletEvent)
Trait Implementations§
source§impl Clone for WebsocketEvents
impl Clone for WebsocketEvents
source§fn clone(&self) -> WebsocketEvents
fn clone(&self) -> WebsocketEvents
Returns a copy of the value. Read more
1.0.0 · 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 WebsocketEvents
impl Debug for WebsocketEvents
source§impl<'de> Deserialize<'de> for WebsocketEvents
impl<'de> Deserialize<'de> for WebsocketEvents
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 WebsocketEvents
impl RefUnwindSafe for WebsocketEvents
impl Send for WebsocketEvents
impl Sync for WebsocketEvents
impl Unpin for WebsocketEvents
impl UnwindSafe for WebsocketEvents
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