pub struct CandlestickData {
pub close_series: Option<CandlestickSeries>,
pub high_series: Option<CandlestickSeries>,
pub low_series: Option<CandlestickSeries>,
pub open_series: Option<CandlestickSeries>,
}
Expand description
The Candlestick chart data, each containing the low, open, close, and high values for a series.
This type is not used in any activity, and only used as part of another schema.
Fields§
§close_series: Option<CandlestickSeries>
The range data (vertical axis) for the close/final value for each candle. This is the top of the candle body. If greater than the open value the candle will be filled. Otherwise the candle will be hollow.
high_series: Option<CandlestickSeries>
The range data (vertical axis) for the high/maximum value for each candle. This is the top of the candle’s center line.
low_series: Option<CandlestickSeries>
The range data (vertical axis) for the low/minimum value for each candle. This is the bottom of the candle’s center line.
open_series: Option<CandlestickSeries>
The range data (vertical axis) for the open/initial value for each candle. This is the bottom of the candle body. If less than the close value the candle will be filled. Otherwise the candle will be hollow.
Trait Implementations§
Source§impl Clone for CandlestickData
impl Clone for CandlestickData
Source§fn clone(&self) -> CandlestickData
fn clone(&self) -> CandlestickData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CandlestickData
impl Debug for CandlestickData
Source§impl Default for CandlestickData
impl Default for CandlestickData
Source§fn default() -> CandlestickData
fn default() -> CandlestickData
Source§impl<'de> Deserialize<'de> for CandlestickData
impl<'de> Deserialize<'de> for CandlestickData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for CandlestickData
impl Serialize for CandlestickData
impl Part for CandlestickData
Auto Trait Implementations§
impl Freeze for CandlestickData
impl RefUnwindSafe for CandlestickData
impl Send for CandlestickData
impl Sync for CandlestickData
impl Unpin for CandlestickData
impl UnwindSafe for CandlestickData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more