pub enum TrendDirection {
Up(f64),
Down(f64),
Stable,
}Expand description
Trend direction with percentage change
Variants§
Up(f64)
Increasing trend (percentage)
Down(f64)
Decreasing trend (percentage)
Stable
Stable trend (<10% change)
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 moreAuto Trait Implementations§
impl Freeze for TrendDirection
impl RefUnwindSafe for TrendDirection
impl Send for TrendDirection
impl Sync for TrendDirection
impl Unpin for TrendDirection
impl UnsafeUnpin 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