pub struct ComposeOptions {
pub capital: Decimal,
pub rebalance: RebalanceMode,
pub weight_schedule: Vec<WeightScheduleEntry>,
pub allocation: AllocationMethod,
}Expand description
Options for mixed-frequency portfolio composition.
Fields§
§capital: Decimal§rebalance: RebalanceMode§weight_schedule: Vec<WeightScheduleEntry>§allocation: AllocationMethodTrait Implementations§
Source§impl Clone for ComposeOptions
impl Clone for ComposeOptions
Source§fn clone(&self) -> ComposeOptions
fn clone(&self) -> ComposeOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ComposeOptions
impl RefUnwindSafe for ComposeOptions
impl Send for ComposeOptions
impl Sync for ComposeOptions
impl Unpin for ComposeOptions
impl UnsafeUnpin for ComposeOptions
impl UnwindSafe for ComposeOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more