pub enum MethodMessage {
AddOrder(ResultResponse<AddOrderResult>),
EditOrder(ResultResponse<EditOrderResult>),
AmendOrder(ResultResponse<AmendOrderResult>),
CancelOrder(ResultResponse<CancelOrderResult>),
CancelAllOrders(ResultResponse<CancelAllOrdersResult>),
CancelOnDisconnect(ResultResponse<CancelOnDisconnectResult>),
BatchOrder(ResultResponse<Vec<AddOrderResult>>),
BatchCancel(BatchCancelResponse),
Subscription(ResultResponse<SubscriptionResult>),
Ping(ResultResponse<Option<()>>),
Pong(PongResponse),
}
Variants§
AddOrder(ResultResponse<AddOrderResult>)
EditOrder(ResultResponse<EditOrderResult>)
AmendOrder(ResultResponse<AmendOrderResult>)
CancelOrder(ResultResponse<CancelOrderResult>)
CancelAllOrders(ResultResponse<CancelAllOrdersResult>)
CancelOnDisconnect(ResultResponse<CancelOnDisconnectResult>)
BatchOrder(ResultResponse<Vec<AddOrderResult>>)
BatchCancel(BatchCancelResponse)
Subscription(ResultResponse<SubscriptionResult>)
Ping(ResultResponse<Option<()>>)
Pong(PongResponse)
Trait Implementations§
Source§impl Debug for MethodMessage
impl Debug for MethodMessage
Source§impl<'de> Deserialize<'de> for MethodMessage
impl<'de> Deserialize<'de> for MethodMessage
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 MethodMessage
impl PartialEq for MethodMessage
impl StructuralPartialEq for MethodMessage
Auto Trait Implementations§
impl Freeze for MethodMessage
impl RefUnwindSafe for MethodMessage
impl Send for MethodMessage
impl Sync for MethodMessage
impl Unpin for MethodMessage
impl UnwindSafe for MethodMessage
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