pub struct PeriodicParams {
pub interval: u64,
pub only_when_out_of_range: bool,
}Expand description
Parameters for a periodic rebalancing strategy.
Fields§
§interval: u64Interval between rebalances in steps.
only_when_out_of_range: boolWhether to only rebalance when out of range.
Trait Implementations§
Source§impl Clone for PeriodicParams
impl Clone for PeriodicParams
Source§fn clone(&self) -> PeriodicParams
fn clone(&self) -> PeriodicParams
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 PeriodicParams
impl Debug for PeriodicParams
Auto Trait Implementations§
impl Freeze for PeriodicParams
impl RefUnwindSafe for PeriodicParams
impl Send for PeriodicParams
impl Sync for PeriodicParams
impl Unpin for PeriodicParams
impl UnsafeUnpin for PeriodicParams
impl UnwindSafe for PeriodicParams
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