#[non_exhaustive]pub struct MarketOrderTradeClose {
pub trade_id: Option<TradeId>,
pub client_trade_id: Option<String>,
pub units: Option<String>,
}Expand description
A MarketOrderTradeClose specifies the extensions to a Market Order that has been created specifically to close a Trade.
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 requested to be closed
client_trade_id: Option<String>The client ID of the Trade requested to be closed
units: Option<String>Indication of how much of the Trade to close. Either “ALL”, or a DecimalNumber reflection a partial close of the Trade.
Trait Implementations§
Source§impl Clone for MarketOrderTradeClose
impl Clone for MarketOrderTradeClose
Source§fn clone(&self) -> MarketOrderTradeClose
fn clone(&self) -> MarketOrderTradeClose
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 MarketOrderTradeClose
impl Debug for MarketOrderTradeClose
Source§impl<'de> Deserialize<'de> for MarketOrderTradeClose
impl<'de> Deserialize<'de> for MarketOrderTradeClose
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 MarketOrderTradeClose
impl PartialEq for MarketOrderTradeClose
Source§impl Serialize for MarketOrderTradeClose
impl Serialize for MarketOrderTradeClose
impl StructuralPartialEq for MarketOrderTradeClose
Auto Trait Implementations§
impl Freeze for MarketOrderTradeClose
impl RefUnwindSafe for MarketOrderTradeClose
impl Send for MarketOrderTradeClose
impl Sync for MarketOrderTradeClose
impl Unpin for MarketOrderTradeClose
impl UnsafeUnpin for MarketOrderTradeClose
impl UnwindSafe for MarketOrderTradeClose
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