StockPositionsResponse
struct StockPositionsResponse
Stock positions response
Fields
Channels
Channels
Channels
Methods
new
pub fn new(inner: StockPositionsResponse): StockPositionsResponse
[src]
fn new(inner: _StockPositionsResponse): StockPositionsResponse {
let channels: [StockPositionChannel] = [];
for (let _item in inner.channels) {
channels.push(StockPositionChannel.new(_item));
}
return StockPositionsResponse { channels };
}
new
pub fn new(inner: StockPositionsResponse): StockPositionsResponse
[src]
fn new(inner: _StockPositionsResponse): StockPositionsResponse {
let channels: [StockPositionChannel] = [];
for (let _item in inner.channels) {
channels.push(StockPositionChannel.new(_item));
}
return StockPositionsResponse { channels };
}