[][src]Struct fxoanda_definitions::MarketOrderDelayedTradeClose

pub struct MarketOrderDelayedTradeClose {
    pub source_transaction_id: Option<String>,
    pub trade_id: Option<String>,
    pub client_trade_id: Option<String>,
}

Fields

source_transaction_id: Option<String>

The Transaction ID of the DelayedTradeClosure transaction to which this Delayed Trade Close belongs to format: String representation of the numerical OANDA-assigned TransactionID

trade_id: Option<String>

The ID of the Trade being closed format: The string representation of the OANDA-assigned TradeID. OANDA- assigned TradeIDs are positive integers, and are derived from the TransactionID of the Transaction that opened the Trade.

client_trade_id: Option<String>

The Client ID of the Trade being closed format: The string representation of the OANDA-assigned TradeID. OANDA- assigned TradeIDs are positive integers, and are derived from the TransactionID of the Transaction that opened the Trade.

Methods

impl MarketOrderDelayedTradeClose[src]

pub fn new() -> MarketOrderDelayedTradeClose[src]

pub fn with_source_transaction_id(self, x: String) -> Self[src]

The Transaction ID of the DelayedTradeClosure transaction to which this Delayed Trade Close belongs to format: String representation of the numerical OANDA-assigned TransactionID

  • param String
  • return MarketOrderDelayedTradeClose

pub fn with_trade_id(self, x: String) -> Self[src]

The ID of the Trade being closed format: The string representation of the OANDA-assigned TradeID. OANDA- assigned TradeIDs are positive integers, and are derived from the TransactionID of the Transaction that opened the Trade.

  • param String
  • return MarketOrderDelayedTradeClose

pub fn with_client_trade_id(self, x: String) -> Self[src]

The Client ID of the Trade being closed format: The string representation of the OANDA-assigned TradeID. OANDA- assigned TradeIDs are positive integers, and are derived from the TransactionID of the Transaction that opened the Trade.

  • param String
  • return MarketOrderDelayedTradeClose

Trait Implementations

impl Debug for MarketOrderDelayedTradeClose[src]

impl Serialize for MarketOrderDelayedTradeClose[src]

impl<'de> Deserialize<'de> for MarketOrderDelayedTradeClose[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]