pub enum AmendPatch {
Limit(LimitOrderPatch),
Pegged(PeggedOrderPatch),
}Expand description
Represents the patch to an existing order
Variants§
Limit(LimitOrderPatch)
The patch to a limit order
Pegged(PeggedOrderPatch)
The patch to a pegged order
Trait Implementations§
Source§impl Clone for AmendPatch
impl Clone for AmendPatch
Source§fn clone(&self) -> AmendPatch
fn clone(&self) -> AmendPatch
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 AmendPatch
impl Debug for AmendPatch
Source§impl<'de> Deserialize<'de> for AmendPatch
impl<'de> Deserialize<'de> for AmendPatch
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 AmendPatch
impl PartialEq for AmendPatch
Source§impl Serialize for AmendPatch
impl Serialize for AmendPatch
impl Eq for AmendPatch
impl StructuralPartialEq for AmendPatch
Auto Trait Implementations§
impl Freeze for AmendPatch
impl RefUnwindSafe for AmendPatch
impl Send for AmendPatch
impl Sync for AmendPatch
impl Unpin for AmendPatch
impl UnsafeUnpin for AmendPatch
impl UnwindSafe for AmendPatch
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