pub struct ForceOrderDetails {Show 15 fields
pub symbol: String,
pub side: String,
pub order_type: String,
pub time_in_force: String,
pub quantity: Option<String>,
pub filled_qty: Option<String>,
pub price: String,
pub avg_price: String,
pub status: String,
pub last_filled_qty: String,
pub trade_time: u64,
pub tx_hash: String,
pub user_address: String,
pub order_id: u64,
pub trade_id: u64,
}Expand description
Order details within a forceOrder message
Fields§
§symbol: String§side: String§order_type: String§time_in_force: String§quantity: Option<String>§filled_qty: Option<String>§price: String§avg_price: String§status: String§last_filled_qty: String§trade_time: u64§tx_hash: String§user_address: String§order_id: u64§trade_id: u64Trait Implementations§
Source§impl Clone for ForceOrderDetails
impl Clone for ForceOrderDetails
Source§fn clone(&self) -> ForceOrderDetails
fn clone(&self) -> ForceOrderDetails
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 ForceOrderDetails
impl Debug for ForceOrderDetails
Source§impl<'de> Deserialize<'de> for ForceOrderDetails
impl<'de> Deserialize<'de> for ForceOrderDetails
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ForceOrderDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ForceOrderDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ForceOrderDetails
impl Serialize for ForceOrderDetails
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ForceOrderDetails
impl RefUnwindSafe for ForceOrderDetails
impl Send for ForceOrderDetails
impl Sync for ForceOrderDetails
impl Unpin for ForceOrderDetails
impl UnsafeUnpin for ForceOrderDetails
impl UnwindSafe for ForceOrderDetails
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