pub enum TrendDirection {
Bullish,
Bearish,
Sideways,
}
Expand description
Direction of market trend
Variants§
Bullish
Upward trend (bullish)
Bearish
Downward trend (bearish)
Sideways
No clear trend (sideways/ranging)
Trait Implementations§
Source§impl Clone for TrendDirection
impl Clone for TrendDirection
Source§fn clone(&self) -> TrendDirection
fn clone(&self) -> TrendDirection
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 TrendDirection
impl Debug for TrendDirection
Source§impl<'de> Deserialize<'de> for TrendDirection
impl<'de> Deserialize<'de> for TrendDirection
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 TrendDirection
impl PartialEq for TrendDirection
Source§impl Serialize for TrendDirection
impl Serialize for TrendDirection
impl Copy for TrendDirection
impl StructuralPartialEq for TrendDirection
Auto Trait Implementations§
impl Freeze for TrendDirection
impl RefUnwindSafe for TrendDirection
impl Send for TrendDirection
impl Sync for TrendDirection
impl Unpin for TrendDirection
impl UnwindSafe for TrendDirection
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