PushTrades
struct PushTrades
Trades message
Fields
Methods
new
pub fn new(inner: PushTrades): PushTrades
[src]
fn new(inner: _PushTrades): PushTrades {
let trades: [Trade] = [];
for (let _item in inner.trades) {
trades.push(Trade.new(_item));
}
return PushTrades { trades };
}
new
pub fn new(inner: PushTrades): PushTrades
[src]
fn new(inner: _PushTrades): PushTrades {
let trades: [Trade] = [];
for (let _item in inner.trades) {
trades.push(Trade.new(_item));
}
return PushTrades { trades };
}