pub enum AllocationMode {
Manual,
MarketCap,
Aum,
Decorrelation,
}Expand description
Mode for determining desired allocation.
Variants§
Manual
Manual allocation with fixed percentages.
MarketCap
Allocation based on market capitalization.
Aum
Allocation based on assets under management.
Decorrelation
Decorrelation strategy.
Trait Implementations§
Source§impl Clone for AllocationMode
impl Clone for AllocationMode
impl Copy for AllocationMode
Source§impl Debug for AllocationMode
impl Debug for AllocationMode
Source§impl Default for AllocationMode
impl Default for AllocationMode
Source§impl<'de> Deserialize<'de> for AllocationMode
impl<'de> Deserialize<'de> for AllocationMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AllocationMode
Source§impl PartialEq for AllocationMode
impl PartialEq for AllocationMode
Source§impl Serialize for AllocationMode
impl Serialize for AllocationMode
impl StructuralPartialEq for AllocationMode
Auto Trait Implementations§
impl Forget for AllocationMode
impl Freeze for AllocationMode
impl Move for AllocationMode
impl RefUnwindSafe for AllocationMode
impl Send for AllocationMode
impl Sync for AllocationMode
impl Unpin for AllocationMode
impl UnsafeUnpin for AllocationMode
impl UnwindSafe for AllocationMode
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