pub struct RegimeReading {
pub state: RegimeState,
pub adx: f64,
pub choppiness: f64,
pub efficiency: f64,
pub trend_votes: u8,
}Fields§
§state: RegimeState§adx: f64§choppiness: f64§efficiency: f64§trend_votes: u8How many of the three components voted “trending” (0..=3).
Trait Implementations§
Source§impl Clone for RegimeReading
impl Clone for RegimeReading
Source§fn clone(&self) -> RegimeReading
fn clone(&self) -> RegimeReading
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 RegimeReading
Source§impl Debug for RegimeReading
impl Debug for RegimeReading
Source§impl PartialEq for RegimeReading
impl PartialEq for RegimeReading
Source§impl Serialize for RegimeReading
impl Serialize for RegimeReading
impl StructuralPartialEq for RegimeReading
Auto Trait Implementations§
impl Freeze for RegimeReading
impl RefUnwindSafe for RegimeReading
impl Send for RegimeReading
impl Sync for RegimeReading
impl Unpin for RegimeReading
impl UnsafeUnpin for RegimeReading
impl UnwindSafe for RegimeReading
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