pub struct AbsorptionBin {
pub price_low: f64,
pub price_high: f64,
pub volume: f64,
pub touches: u32,
pub volume_per_touch: f64,
pub is_absorption: bool,
pub first_touched_ts: i64,
pub last_touched_ts: i64,
}Expand description
A snapshot view of one persistent bin’s current lifecycle state.
Fields§
§price_low: f64§price_high: f64§volume: f64§touches: u32§volume_per_touch: f64§is_absorption: bool§first_touched_ts: i64First bar that touched this bin.
last_touched_ts: i64Most recent bar that touched this bin.
Trait Implementations§
Source§impl Clone for AbsorptionBin
impl Clone for AbsorptionBin
Source§fn clone(&self) -> AbsorptionBin
fn clone(&self) -> AbsorptionBin
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 AbsorptionBin
Source§impl Debug for AbsorptionBin
impl Debug for AbsorptionBin
Source§impl PartialEq for AbsorptionBin
impl PartialEq for AbsorptionBin
impl StructuralPartialEq for AbsorptionBin
Auto Trait Implementations§
impl Freeze for AbsorptionBin
impl RefUnwindSafe for AbsorptionBin
impl Send for AbsorptionBin
impl Sync for AbsorptionBin
impl Unpin for AbsorptionBin
impl UnsafeUnpin for AbsorptionBin
impl UnwindSafe for AbsorptionBin
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