pub struct DailyQuoteCommonItem {Show 16 fields
pub date: String,
pub code: String,
pub open: Option<f64>,
pub high: Option<f64>,
pub low: Option<f64>,
pub close: Option<f64>,
pub upper_limit: PriceLimit,
pub lower_limit: PriceLimit,
pub volume: Option<f64>,
pub turnover_value: Option<f64>,
pub adjustment_factor: f64,
pub adjustment_open: Option<f64>,
pub adjustment_high: Option<f64>,
pub adjustment_low: Option<f64>,
pub adjustment_close: Option<f64>,
pub adjustment_volume: Option<f64>,
}Expand description
Represents a single daily quote
Fields§
§date: StringDate (YYYY-MM-DD).
code: StringIssue code
open: Option<f64>Open Price (before adjustment)
high: Option<f64>High price (before adjustment)
low: Option<f64>Low price (before adjustment)
close: Option<f64>Close price (before adjustment)
upper_limit: PriceLimitFlag of hitting the upper price limit of the day
lower_limit: PriceLimitFlag of hitting the lower price limit of the day
volume: Option<f64>Trading volume (before Adjustment)
turnover_value: Option<f64>Trading value
adjustment_factor: f64Adjustment factor
adjustment_open: Option<f64>Adjusted open price
adjustment_high: Option<f64>Adjusted high price
adjustment_low: Option<f64>Adjusted low price
adjustment_close: Option<f64>Adjusted close price
adjustment_volume: Option<f64>Adjusted volume
Trait Implementations§
Source§impl Clone for DailyQuoteCommonItem
impl Clone for DailyQuoteCommonItem
Source§fn clone(&self) -> DailyQuoteCommonItem
fn clone(&self) -> DailyQuoteCommonItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DailyQuoteCommonItem
impl Debug for DailyQuoteCommonItem
Source§impl<'de> Deserialize<'de> for DailyQuoteCommonItem
impl<'de> Deserialize<'de> for DailyQuoteCommonItem
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 DailyQuoteCommonItem
impl PartialEq for DailyQuoteCommonItem
impl StructuralPartialEq for DailyQuoteCommonItem
Auto Trait Implementations§
impl Freeze for DailyQuoteCommonItem
impl RefUnwindSafe for DailyQuoteCommonItem
impl Send for DailyQuoteCommonItem
impl Sync for DailyQuoteCommonItem
impl Unpin for DailyQuoteCommonItem
impl UnwindSafe for DailyQuoteCommonItem
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