pub struct BarValues {
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
pub volume: Option<f64>,
}Expand description
OHLCV values of one bar.
Fields§
§open: f64Open.
high: f64High.
low: f64Low.
close: f64Close.
volume: Option<f64>Volume, if the series has one.
Trait Implementations§
impl Copy for BarValues
impl StructuralPartialEq for BarValues
Auto Trait Implementations§
impl Forget for BarValues
impl Freeze for BarValues
impl Move for BarValues
impl RefUnwindSafe for BarValues
impl Send for BarValues
impl Sync for BarValues
impl Unpin for BarValues
impl UnsafeUnpin for BarValues
impl UnwindSafe for BarValues
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