pub struct CandlestickData {
pub o: Option<Decimal>,
pub h: Option<Decimal>,
pub l: Option<Decimal>,
pub c: Option<Decimal>,
}Expand description
The price data (open, high, low, close) for the Candlestick representation.
Fields§
§o: Option<Decimal>The first (open) price in the time-range represented by the candlestick.
h: Option<Decimal>The highest price in the time-range represented by the candlestick.
l: Option<Decimal>The lowest price in the time-range represented by the candlestick.
c: Option<Decimal>The last (closing) price in the time-range represented by the candlestick.
Trait Implementations§
Source§impl Clone for CandlestickData
impl Clone for CandlestickData
Source§impl Debug for CandlestickData
impl Debug for 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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CandlestickData
impl PartialEq for CandlestickData
Source§impl Serialize for CandlestickData
impl Serialize for CandlestickData
impl StructuralPartialEq 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 UnsafeUnpin 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
Mutably borrows from an owned value. Read more