Struct trade_aggregation::candle_components::MedianPrice
source · pub struct MedianPrice { /* private fields */ }
Expand description
Computes the median price from a sorted list of trade prices
Trait Implementations§
source§impl CandleComponent<f64> for MedianPrice
impl CandleComponent<f64> for MedianPrice
source§impl<T: TakerTrade> CandleComponentUpdate<T> for MedianPrice
impl<T: TakerTrade> CandleComponentUpdate<T> for MedianPrice
source§impl Clone for MedianPrice
impl Clone for MedianPrice
source§fn clone(&self) -> MedianPrice
fn clone(&self) -> MedianPrice
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 MedianPrice
impl Debug for MedianPrice
source§impl Default for MedianPrice
impl Default for MedianPrice
source§fn default() -> MedianPrice
fn default() -> MedianPrice
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MedianPrice
impl RefUnwindSafe for MedianPrice
impl Send for MedianPrice
impl Sync for MedianPrice
impl Unpin for MedianPrice
impl UnwindSafe for MedianPrice
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