pub struct RebalanceEvent {
pub timestamp: DateTime<Utc>,
pub turnover: Decimal,
pub weights_before: Vec<Decimal>,
pub weights_after: Vec<Decimal>,
}Expand description
A rebalance event recording when and how much turnover occurred.
Fields§
§timestamp: DateTime<Utc>§turnover: Decimal§weights_before: Vec<Decimal>§weights_after: Vec<Decimal>Trait Implementations§
Source§impl Clone for RebalanceEvent
impl Clone for RebalanceEvent
Source§fn clone(&self) -> RebalanceEvent
fn clone(&self) -> RebalanceEvent
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 RebalanceEvent
impl RefUnwindSafe for RebalanceEvent
impl Send for RebalanceEvent
impl Sync for RebalanceEvent
impl Unpin for RebalanceEvent
impl UnsafeUnpin for RebalanceEvent
impl UnwindSafe for RebalanceEvent
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