Struct trade_aggregation::candle_components::AveragePrice
source · pub struct AveragePrice { /* private fields */ }
Expand description
This ‘CandleComponent’ keeps track of the arithmetic mean price
Trait Implementations§
source§impl CandleComponent<f64> for AveragePrice
impl CandleComponent<f64> for AveragePrice
source§impl<T: TakerTrade> CandleComponentUpdate<T> for AveragePrice
impl<T: TakerTrade> CandleComponentUpdate<T> for AveragePrice
source§impl Clone for AveragePrice
impl Clone for AveragePrice
source§fn clone(&self) -> AveragePrice
fn clone(&self) -> AveragePrice
Returns a copy 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 moresource§impl Debug for AveragePrice
impl Debug for AveragePrice
source§impl Default for AveragePrice
impl Default for AveragePrice
source§fn default() -> AveragePrice
fn default() -> AveragePrice
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AveragePrice
impl RefUnwindSafe for AveragePrice
impl Send for AveragePrice
impl Sync for AveragePrice
impl Unpin for AveragePrice
impl UnwindSafe for AveragePrice
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