pub enum PrivateMessage {
PingPong(PingPong),
Heartbeat,
SystemStatus(SystemStatus),
SubscriptionStatus(SubscriptionStatus),
OpenOrders(OpenOrdersMessage),
OwnTrades(OwnTradeMessage),
CancelOrderResponse(CancelOrderResponse),
CancelAllResponse(CancelAllResponse),
AddOrderResponse(AddOrderResponse),
EditOrderResponse(EditOrderResponse),
CancelAllAfterResponse(CancelAllAfterResponse),
ErrorMessage(ErrorMessage),
}
Expand description
Contains all possible message types for a private websocket connection
Variants§
PingPong(PingPong)
Heartbeat
SystemStatus(SystemStatus)
SubscriptionStatus(SubscriptionStatus)
OpenOrders(OpenOrdersMessage)
OwnTrades(OwnTradeMessage)
CancelOrderResponse(CancelOrderResponse)
CancelAllResponse(CancelAllResponse)
AddOrderResponse(AddOrderResponse)
EditOrderResponse(EditOrderResponse)
CancelAllAfterResponse(CancelAllAfterResponse)
ErrorMessage(ErrorMessage)
Trait Implementations§
Source§impl Debug for PrivateMessage
impl Debug for PrivateMessage
Source§impl<'de> Deserialize<'de> for PrivateMessage
impl<'de> Deserialize<'de> for PrivateMessage
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 PrivateMessage
impl RefUnwindSafe for PrivateMessage
impl Send for PrivateMessage
impl Sync for PrivateMessage
impl Unpin for PrivateMessage
impl UnwindSafe for PrivateMessage
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