pub struct IntradayPrice {
pub date: NaiveDateTime,
pub open: f64,
pub high: f64,
pub low: f64,
pub close: f64,
pub volume: f64,
}Expand description
An intraday OHLCV bar from historical-chart/{interval}.
Fields§
§date: NaiveDateTimeThe provider’s timestamp has no timezone offset.
open: f64§high: f64§low: f64§close: f64§volume: f64Trait Implementations§
Source§impl Clone for IntradayPrice
impl Clone for IntradayPrice
Source§impl Debug for IntradayPrice
impl Debug for IntradayPrice
Source§impl<'de> Deserialize<'de> for IntradayPrice
impl<'de> Deserialize<'de> for IntradayPrice
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 IntradayPrice
impl PartialEq for IntradayPrice
Source§impl Serialize for IntradayPrice
impl Serialize for IntradayPrice
impl StructuralPartialEq for IntradayPrice
Auto Trait Implementations§
impl Freeze for IntradayPrice
impl RefUnwindSafe for IntradayPrice
impl Send for IntradayPrice
impl Sync for IntradayPrice
impl Unpin for IntradayPrice
impl UnsafeUnpin for IntradayPrice
impl UnwindSafe for IntradayPrice
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