pub struct MacdMomentumConfig {
pub enabled: bool,
pub fast_period: u32,
pub slow_period: u32,
pub signal_period: u32,
pub histogram_threshold: f64,
}Fields§
§enabled: bool§fast_period: u32§slow_period: u32§signal_period: u32§histogram_threshold: f64Trait Implementations§
Source§impl Clone for MacdMomentumConfig
impl Clone for MacdMomentumConfig
Source§fn clone(&self) -> MacdMomentumConfig
fn clone(&self) -> MacdMomentumConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MacdMomentumConfig
impl Debug for MacdMomentumConfig
Source§impl Default for MacdMomentumConfig
impl Default for MacdMomentumConfig
Source§impl<'de> Deserialize<'de> for MacdMomentumConfigwhere
MacdMomentumConfig: Default,
impl<'de> Deserialize<'de> for MacdMomentumConfigwhere
MacdMomentumConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MacdMomentumConfig
impl RefUnwindSafe for MacdMomentumConfig
impl Send for MacdMomentumConfig
impl Sync for MacdMomentumConfig
impl Unpin for MacdMomentumConfig
impl UnsafeUnpin for MacdMomentumConfig
impl UnwindSafe for MacdMomentumConfig
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