pub struct VolumeRule { /* private fields */ }Expand description
Creates candles every n units of volume traded. If the last trade needed to complete a bucket is for a size greater than required, the excess size is given to the next bucket
Implementations§
Trait Implementations§
Source§impl<C, T> AggregationRule<C, T> for VolumeRulewhere
C: ModularCandle<T>,
T: TakerTrade,
impl<C, T> AggregationRule<C, T> for VolumeRulewhere
C: ModularCandle<T>,
T: TakerTrade,
Source§impl Clone for VolumeRule
impl Clone for VolumeRule
Source§fn clone(&self) -> VolumeRule
fn clone(&self) -> VolumeRule
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 VolumeRule
impl RefUnwindSafe for VolumeRule
impl Send for VolumeRule
impl Sync for VolumeRule
impl Unpin for VolumeRule
impl UnwindSafe for VolumeRule
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