pub struct TrendReading {
pub direction: TrendDirection,
pub phase: MarketPhase,
pub slope_pct: f64,
}Fields§
§direction: TrendDirection§phase: MarketPhase§slope_pct: f64Percent change of the smoothed price over len bars.
Trait Implementations§
Source§impl Clone for TrendReading
impl Clone for TrendReading
Source§fn clone(&self) -> TrendReading
fn clone(&self) -> TrendReading
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 moreimpl Copy for TrendReading
Source§impl Debug for TrendReading
impl Debug for TrendReading
Source§impl PartialEq for TrendReading
impl PartialEq for TrendReading
Source§impl Serialize for TrendReading
impl Serialize for TrendReading
impl StructuralPartialEq for TrendReading
Auto Trait Implementations§
impl Freeze for TrendReading
impl RefUnwindSafe for TrendReading
impl Send for TrendReading
impl Sync for TrendReading
impl Unpin for TrendReading
impl UnsafeUnpin for TrendReading
impl UnwindSafe for TrendReading
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