Struct wex::TradeResult[][src]

pub struct TradeResult {
    pub received: f64,
    pub remains: f64,
    pub order_id: u64,
    pub funds: HashMap<String, f64>,
}

Fields

The amount of currency bought/sold.

The remaining amount of currency to be bought/sold (and the initial order amount).

Is equal to 0 if the request was fully “matched” by the opposite orders, otherwise the ID of the executed order will be returned.

Balance after the request.

Trait Implementations

impl Clone for TradeResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TradeResult
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for TradeResult

impl Sync for TradeResult