#[non_exhaustive]pub struct MarketOrderDelayedTradeClose {
pub trade_id: Option<TradeId>,
pub client_trade_id: Option<TradeId>,
pub source_transaction_id: Option<TransactionId>,
}Expand description
Details for the Market Order extensions specific to a Market Order placed with the intent of fully closing a specific open trade that should have already been closed but wasn’t due to halted market conditions
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.trade_id: Option<TradeId>The ID of the Trade being closed
client_trade_id: Option<TradeId>The Client ID of the Trade being closed
source_transaction_id: Option<TransactionId>The Transaction ID of the DelayedTradeClosure transaction to which this Delayed Trade Close belongs to
Trait Implementations§
Source§impl Clone for MarketOrderDelayedTradeClose
impl Clone for MarketOrderDelayedTradeClose
Source§fn clone(&self) -> MarketOrderDelayedTradeClose
fn clone(&self) -> MarketOrderDelayedTradeClose
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MarketOrderDelayedTradeClose
impl Debug for MarketOrderDelayedTradeClose
Source§impl<'de> Deserialize<'de> for MarketOrderDelayedTradeClose
impl<'de> Deserialize<'de> for MarketOrderDelayedTradeClose
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
impl StructuralPartialEq for MarketOrderDelayedTradeClose
Auto Trait Implementations§
impl Freeze for MarketOrderDelayedTradeClose
impl RefUnwindSafe for MarketOrderDelayedTradeClose
impl Send for MarketOrderDelayedTradeClose
impl Sync for MarketOrderDelayedTradeClose
impl Unpin for MarketOrderDelayedTradeClose
impl UnsafeUnpin for MarketOrderDelayedTradeClose
impl UnwindSafe for MarketOrderDelayedTradeClose
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