pub enum CancelReplaceSideResponse {
Error(CancelReplaceErrorInfo),
Cancel(CancelOrderResponse),
Order(OrderResponse),
}Expand description
Cancel-replace sub-response payloads.
Variants§
Error(CancelReplaceErrorInfo)
Error response.
Cancel(CancelOrderResponse)
Cancel order response.
Order(OrderResponse)
New order response.
Trait Implementations§
Source§impl Clone for CancelReplaceSideResponse
impl Clone for CancelReplaceSideResponse
Source§fn clone(&self) -> CancelReplaceSideResponse
fn clone(&self) -> CancelReplaceSideResponse
Returns a duplicate 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 CancelReplaceSideResponse
impl Debug for CancelReplaceSideResponse
Source§impl<'de> Deserialize<'de> for CancelReplaceSideResponse
impl<'de> Deserialize<'de> for CancelReplaceSideResponse
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 CancelReplaceSideResponse
impl RefUnwindSafe for CancelReplaceSideResponse
impl Send for CancelReplaceSideResponse
impl Sync for CancelReplaceSideResponse
impl Unpin for CancelReplaceSideResponse
impl UnwindSafe for CancelReplaceSideResponse
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