pub struct InputBar {
pub time: Timestamp,
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
pub volume: f64,
}Expand description
One bar of an indicator’s source.
Fields§
§time: TimestampBar time (UTC milliseconds).
open: f64Open (single-value sources: the value).
high: f64High.
low: f64Low.
close: f64Close.
volume: f64Volume; NaN when the source has none.
Trait Implementations§
impl Copy for InputBar
impl StructuralPartialEq for InputBar
Auto Trait Implementations§
impl Forget for InputBar
impl Freeze for InputBar
impl Move for InputBar
impl RefUnwindSafe for InputBar
impl Send for InputBar
impl Sync for InputBar
impl Unpin for InputBar
impl UnsafeUnpin for InputBar
impl UnwindSafe for InputBar
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