Struct wex::TradeResult
[−]
[src]
pub struct TradeResult { pub received: f64, pub remains: f64, pub order_id: u64, pub funds: HashMap<String, f64>, }
Fields
received: f64
The amount of currency bought/sold.
remains: f64
The remaining amount of currency to be bought/sold (and the initial order amount).
order_id: u64
Is equal to 0 if the request was fully “matched” by the opposite orders, otherwise the ID of the executed order will be returned.
funds: HashMap<String, f64>
Balance after the request.
Trait Implementations
impl Clone for TradeResult
[src]
fn clone(&self) -> TradeResult
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more