pub struct IndicatorValues {
pub sma: Option<Decimal>,
pub rsi: Option<Decimal>,
pub macd: Option<(Decimal, Decimal, Decimal)>,
pub bollinger: Option<(Decimal, Decimal, Decimal)>,
}Fields§
§sma: Option<Decimal>§rsi: Option<Decimal>§macd: Option<(Decimal, Decimal, Decimal)>§bollinger: Option<(Decimal, Decimal, Decimal)>Trait Implementations§
Source§impl Clone for IndicatorValues
impl Clone for IndicatorValues
Source§fn clone(&self) -> IndicatorValues
fn clone(&self) -> IndicatorValues
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 IndicatorValues
impl RefUnwindSafe for IndicatorValues
impl Send for IndicatorValues
impl Sync for IndicatorValues
impl Unpin for IndicatorValues
impl UnwindSafe for IndicatorValues
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