pub struct IndicatorConfig {
pub sma_period: usize,
pub ema_period: usize,
pub rsi_period: usize,
pub macd_fast: usize,
pub macd_slow: usize,
pub macd_signal: usize,
pub bb_period: usize,
pub bb_std_dev: f64,
}Fields§
§sma_period: usize§ema_period: usize§rsi_period: usize§macd_fast: usize§macd_slow: usize§macd_signal: usize§bb_period: usize§bb_std_dev: f64Trait Implementations§
Source§impl Clone for IndicatorConfig
impl Clone for IndicatorConfig
Source§fn clone(&self) -> IndicatorConfig
fn clone(&self) -> IndicatorConfig
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 moreSource§impl Debug for IndicatorConfig
impl Debug for IndicatorConfig
Auto Trait Implementations§
impl Freeze for IndicatorConfig
impl RefUnwindSafe for IndicatorConfig
impl Send for IndicatorConfig
impl Sync for IndicatorConfig
impl Unpin for IndicatorConfig
impl UnwindSafe for IndicatorConfig
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