pub enum Topic {
Show 16 variants
Orderbook {
symbol: String,
depth: DepthLevel,
},
Trade(String),
Ticker(String),
Kline {
symbol: String,
interval: Interval,
},
AllLiquidation(String),
Position(Category),
PositionAllCategory,
Execution(Category),
ExecutionAllCategory,
FastExecution(Category),
FastExecutionAllCategory,
Order(Category),
OrderAllCategory,
Wallet,
Greek,
Dcp(DcpFunction),
}Variants§
Orderbook
Trade(String)
Ticker(String)
Kline
AllLiquidation(String)
Position(Category)
PositionAllCategory
Execution(Category)
ExecutionAllCategory
FastExecution(Category)
FastExecutionAllCategory
Order(Category)
OrderAllCategory
Wallet
Greek
option only.
Dcp(DcpFunction)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Topic
impl<'de> Deserialize<'de> for Topic
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
impl StructuralPartialEq for Topic
Auto Trait Implementations§
impl Freeze for Topic
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnsafeUnpin for Topic
impl UnwindSafe for Topic
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