Editor Plugins
English
Appearance
struct PushDepth
Depth message
asks: [Depth]
Ask depth
bids: [Depth]
Bid depth
pub fn new(inner: PushDepth): PushDepth
fn new(inner: _PushDepth): PushDepth { let asks: [Depth] = []; for (let _item in inner.asks) { asks.push(Depth.new(_item)); } let bids: [Depth] = []; for (let _item in inner.bids) { bids.push(Depth.new(_item)); } return PushDepth { asks, bids };}