FundPositionsResponse
struct FundPositionsResponse
Fund positions response
Fields
Channels
Channels
Channels
Methods
new
pub fn new(inner: FundPositionsResponse): FundPositionsResponse
[src]
fn new(inner: _FundPositionsResponse): FundPositionsResponse {
let channels: [FundPositionChannel] = [];
for (let _item in inner.channels) {
channels.push(FundPositionChannel.new(_item));
}
return FundPositionsResponse { channels };
}
new
pub fn new(inner: FundPositionsResponse): FundPositionsResponse
[src]
fn new(inner: _FundPositionsResponse): FundPositionsResponse {
let channels: [FundPositionChannel] = [];
for (let _item in inner.channels) {
channels.push(FundPositionChannel.new(_item));
}
return FundPositionsResponse { channels };
}