FundPosition
struct FundPosition
Fund position
Fields
Current equity
Current equity
Current equity
Current equity time
Current equity time
Current equity time
Fund name
Fund name
Fund name
Net cost
Net cost
Net cost
Holding units
Holding units
Holding units
Methods
new
pub fn new(inner: FundPosition): FundPosition
[src]
fn new(inner: _FundPosition): FundPosition {
return FundPosition {
symbol: inner.symbol,
current_net_asset_value: inner.current_net_asset_value,
net_asset_value_day: inner.net_asset_value_day,
symbol_name: inner.symbol_name,
currency: inner.currency,
cost_net_asset_value: inner.cost_net_asset_value,
holding_units: inner.holding_units,
};
}
new
pub fn new(inner: FundPosition): FundPosition
[src]
fn new(inner: _FundPosition): FundPosition {
return FundPosition {
symbol: inner.symbol,
current_net_asset_value: inner.current_net_asset_value,
net_asset_value_day: inner.net_asset_value_day,
symbol_name: inner.symbol_name,
currency: inner.currency,
cost_net_asset_value: inner.cost_net_asset_value,
holding_units: inner.holding_units,
};
}