Struct ex3_node_types::transaction::SpotOrderDetail
source · pub struct SpotOrderDetail {
pub side: OrderSide,
pub price: AssetAmount,
pub volume: AssetAmount,
}Expand description
Spot order detail
Fields§
§side: OrderSideOrder side
price: AssetAmountOrder price
volume: AssetAmountOrder volume Note: volume means base asset quantity
Trait Implementations§
source§impl Clone for SpotOrderDetail
impl Clone for SpotOrderDetail
source§fn clone(&self) -> SpotOrderDetail
fn clone(&self) -> SpotOrderDetail
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 SpotOrderDetail
impl Debug for SpotOrderDetail
source§impl<'de> Deserialize<'de> for SpotOrderDetail
impl<'de> Deserialize<'de> for SpotOrderDetail
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 SpotOrderDetail
impl PartialEq for SpotOrderDetail
source§fn eq(&self, other: &SpotOrderDetail) -> bool
fn eq(&self, other: &SpotOrderDetail) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SpotOrderDetail
impl Serialize for SpotOrderDetail
impl Eq for SpotOrderDetail
impl StructuralPartialEq for SpotOrderDetail
Auto Trait Implementations§
impl Freeze for SpotOrderDetail
impl RefUnwindSafe for SpotOrderDetail
impl Send for SpotOrderDetail
impl Sync for SpotOrderDetail
impl Unpin for SpotOrderDetail
impl UnwindSafe for SpotOrderDetail
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