Struct trade_aggregation::GenericAggregator
source · [−]pub struct GenericAggregator<C, R> { /* private fields */ }
Expand description
An aggregator that is generic over the type of Candle being produced, as well as by which rule the candle is created
Implementations
sourceimpl<C, R> GenericAggregator<C, R> where
C: ModularCandle,
R: AggregationRule<C>,
impl<C, R> GenericAggregator<C, R> where
C: ModularCandle,
R: AggregationRule<C>,
Trait Implementations
sourceimpl<C, R> Aggregator<C> for GenericAggregator<C, R> where
C: ModularCandle,
R: AggregationRule<C>,
impl<C, R> Aggregator<C> for GenericAggregator<C, R> where
C: ModularCandle,
R: AggregationRule<C>,
sourceimpl<C: Clone, R: Clone> Clone for GenericAggregator<C, R>
impl<C: Clone, R: Clone> Clone for GenericAggregator<C, R>
sourcefn clone(&self) -> GenericAggregator<C, R>
fn clone(&self) -> GenericAggregator<C, R>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<C, R> RefUnwindSafe for GenericAggregator<C, R> where
C: RefUnwindSafe,
R: RefUnwindSafe,
impl<C, R> Send for GenericAggregator<C, R> where
C: Send,
R: Send,
impl<C, R> Sync for GenericAggregator<C, R> where
C: Sync,
R: Sync,
impl<C, R> Unpin for GenericAggregator<C, R> where
C: Unpin,
R: Unpin,
impl<C, R> UnwindSafe for GenericAggregator<C, R> where
C: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more