pub struct Ohlc {
pub symbol: String,
pub open: Decimal,
pub high: Decimal,
pub low: Decimal,
pub close: Decimal,
pub vwap: Decimal,
pub trades: i64,
pub volume: Decimal,
pub interval_begin: String,
pub interval: i32,
}
Fields§
§symbol: String
§open: Decimal
§high: Decimal
§low: Decimal
§close: Decimal
§vwap: Decimal
§trades: i64
§volume: Decimal
§interval_begin: String
§interval: i32
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