| 26 | |
| 27 | #[derive(Clone)] |
| 28 | pub struct AllocationOptions<'a> { |
| 29 | pub risk_free_rate: f64, |
| 30 | pub target_return: f64, |
| 31 | pub bounds: Option<HashMap<usize, (f64, f64)>>, |
| 32 | pub tuple_bounds: Option<(f64, f64)>, |
| 33 | pub resample_by: Option<&'a str>, |
| 34 | pub returns_method: ReturnsMethod, |
| 35 | } |
| 36 | |
| 37 | impl Default for AllocationOptions<'_> { |
| 38 | fn default() -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected