[][src]Struct fxoanda::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.

Implementations

impl MarketOrderDelayedTradeClose[src]

pub fn new() -> MarketOrderDelayedTradeClose[src]

pub fn with_source_transaction_id(
    self,
    x: String
) -> MarketOrderDelayedTradeClose
[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) -> MarketOrderDelayedTradeClose[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) -> MarketOrderDelayedTradeClose[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<'de> Deserialize<'de> for MarketOrderDelayedTradeClose[src]

impl Serialize for MarketOrderDelayedTradeClose[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Erased for T

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.