pub struct OHLC {
pub time: String,
pub end_time: String,
pub open: Decimal,
pub high: Decimal,
pub low: Decimal,
pub close: Decimal,
pub vwap: Decimal,
pub volume: Decimal,
pub count: i64,
}
Expand description
OHLC/Candlestick for a given interval
Fields§
§time: String
§end_time: String
§open: Decimal
§high: Decimal
§low: Decimal
§close: Decimal
§vwap: Decimal
§volume: Decimal
§count: i64
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OHLC
impl<'de> Deserialize<'de> for OHLC
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
impl StructuralPartialEq for OHLC
Auto Trait Implementations§
impl Freeze for OHLC
impl RefUnwindSafe for OHLC
impl Send for OHLC
impl Sync for OHLC
impl Unpin for OHLC
impl UnwindSafe for OHLC
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