pub struct MultiScalarBar {
pub bar_open_time: i64,
pub lanes: BTreeMap<&'static str, f64>,
pub filled: bool,
}Expand description
One bar’s worth of a multi-lane non-OHLCV stream, aligned to the OHLCV grid.
Each lane carries one named scalar from an enriched wire payload. Missing /
wire-absent values use f64::NAN so callers can distinguish “not reported
by the exchange” from a genuine 0.0.
Fields§
§bar_open_time: i64Bar open time (ms) — aligned to the interval grid, matches the kline key.
lanes: BTreeMap<&'static str, f64>Named lanes. Keys are short identifiers matching the source field names.
Missing wire-absent observations use f64::NAN.
filled: booltrue if this bar was forward-filled (no fresh observation).
Trait Implementations§
Source§impl Clone for MultiScalarBar
impl Clone for MultiScalarBar
Source§fn clone(&self) -> MultiScalarBar
fn clone(&self) -> MultiScalarBar
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 moreAuto Trait Implementations§
impl Freeze for MultiScalarBar
impl RefUnwindSafe for MultiScalarBar
impl Send for MultiScalarBar
impl Sync for MultiScalarBar
impl Unpin for MultiScalarBar
impl UnsafeUnpin for MultiScalarBar
impl UnwindSafe for MultiScalarBar
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