pub struct AllocationStep {
pub weights: Vec<f64>,
}Expand description
One cycle’s target-allocation vector (weights per instrument, in a fixed order).
Fields§
§weights: Vec<f64>Trait Implementations§
Source§impl Clone for AllocationStep
impl Clone for AllocationStep
Source§fn clone(&self) -> AllocationStep
fn clone(&self) -> AllocationStep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AllocationStep
impl Debug for AllocationStep
Source§impl<'de> Deserialize<'de> for AllocationStep
impl<'de> Deserialize<'de> for AllocationStep
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
Auto Trait Implementations§
impl Freeze for AllocationStep
impl RefUnwindSafe for AllocationStep
impl Send for AllocationStep
impl Sync for AllocationStep
impl Unpin for AllocationStep
impl UnsafeUnpin for AllocationStep
impl UnwindSafe for AllocationStep
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