FundPositionChannel
struct FundPositionChannel
Fund position channel
Fields
Account type
Account type
Account type
Fund positions
Fund positions
Fund positions
Methods
new
pub fn new(inner: FundPositionChannel): FundPositionChannel
[src]
fn new(inner: _FundPositionChannel): FundPositionChannel {
let positions: [FundPosition] = [];
for (let _item in inner.positions) {
positions.push(FundPosition.new(_item));
}
return FundPositionChannel { account_channel: inner.account_channel, positions };
}
new
pub fn new(inner: FundPositionChannel): FundPositionChannel
[src]
fn new(inner: _FundPositionChannel): FundPositionChannel {
let positions: [FundPosition] = [];
for (let _item in inner.positions) {
positions.push(FundPosition.new(_item));
}
return FundPositionChannel { account_channel: inner.account_channel, positions };
}