pub struct RsiReversalConfig {
pub enabled: bool,
pub period: u32,
pub overbought_threshold: f64,
pub oversold_threshold: f64,
pub confirmation_candles: u32,
}Fields§
§enabled: bool§period: u32§overbought_threshold: f64§oversold_threshold: f64§confirmation_candles: u32Trait Implementations§
Source§impl Clone for RsiReversalConfig
impl Clone for RsiReversalConfig
Source§fn clone(&self) -> RsiReversalConfig
fn clone(&self) -> RsiReversalConfig
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 RsiReversalConfig
impl Debug for RsiReversalConfig
Source§impl Default for RsiReversalConfig
impl Default for RsiReversalConfig
Source§impl<'de> Deserialize<'de> for RsiReversalConfigwhere
RsiReversalConfig: Default,
impl<'de> Deserialize<'de> for RsiReversalConfigwhere
RsiReversalConfig: 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 RsiReversalConfig
impl RefUnwindSafe for RsiReversalConfig
impl Send for RsiReversalConfig
impl Sync for RsiReversalConfig
impl Unpin for RsiReversalConfig
impl UnsafeUnpin for RsiReversalConfig
impl UnwindSafe for RsiReversalConfig
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