Enum ex3_node_types::transaction::OrderDetail
source · pub enum OrderDetail {
Spot(SpotOrderDetail),
SwapV2(SwapV2OrderDetail),
}Expand description
Order detail
Variants§
Trait Implementations§
source§impl Clone for OrderDetail
impl Clone for OrderDetail
source§fn clone(&self) -> OrderDetail
fn clone(&self) -> OrderDetail
Returns a copy 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 OrderDetail
impl Debug for OrderDetail
source§impl<'de> Deserialize<'de> for OrderDetail
impl<'de> Deserialize<'de> for OrderDetail
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<OrderDetail> for OrderDetail
impl PartialEq<OrderDetail> for OrderDetail
source§fn eq(&self, other: &OrderDetail) -> bool
fn eq(&self, other: &OrderDetail) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for OrderDetail
impl Serialize for OrderDetail
impl Eq for OrderDetail
impl StructuralEq for OrderDetail
impl StructuralPartialEq for OrderDetail
Auto Trait Implementations§
impl RefUnwindSafe for OrderDetail
impl Send for OrderDetail
impl Sync for OrderDetail
impl Unpin for OrderDetail
impl UnwindSafe for OrderDetail
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