pub enum TrendStrength {
Weak,
Strong,
VeryStrong,
Insufficient,
}Expand description
Trend strength classification
Variants§
Weak
ADX below 25 - weak or no trend
Strong
ADX between 25-50 - strong trend
VeryStrong
ADX above 50 - very strong trend
Insufficient
Not enough data yet
Trait Implementations§
Source§impl Clone for TrendStrength
impl Clone for TrendStrength
Source§fn clone(&self) -> TrendStrength
fn clone(&self) -> TrendStrength
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 TrendStrength
impl Debug for TrendStrength
Source§impl<'de> Deserialize<'de> for TrendStrength
impl<'de> Deserialize<'de> for TrendStrength
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
Source§impl PartialEq for TrendStrength
impl PartialEq for TrendStrength
Source§impl Serialize for TrendStrength
impl Serialize for TrendStrength
impl Copy for TrendStrength
impl StructuralPartialEq for TrendStrength
Auto Trait Implementations§
impl Freeze for TrendStrength
impl RefUnwindSafe for TrendStrength
impl Send for TrendStrength
impl Sync for TrendStrength
impl Unpin for TrendStrength
impl UnwindSafe for TrendStrength
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