pub struct Candle {
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
}Expand description
One candlestick: a period’s first, highest, lowest and last values.
Fields§
§open: f64The first value.
high: f64The highest value.
low: f64The lowest value.
close: f64The last value.
Implementations§
Trait Implementations§
impl Copy for Candle
impl StructuralPartialEq for Candle
Auto Trait Implementations§
impl Freeze for Candle
impl RefUnwindSafe for Candle
impl Send for Candle
impl Sync for Candle
impl Unpin for Candle
impl UnsafeUnpin for Candle
impl UnwindSafe for Candle
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