pub struct FuturesPricesItem {Show 29 fields
pub code: String,
pub derivatives_product_category: String,
pub date: String,
pub whole_day_open: f64,
pub whole_day_high: f64,
pub whole_day_low: f64,
pub whole_day_close: f64,
pub morning_session_open: Option<f64>,
pub morning_session_high: Option<f64>,
pub morning_session_low: Option<f64>,
pub morning_session_close: Option<f64>,
pub night_session_open: Option<f64>,
pub night_session_high: Option<f64>,
pub night_session_low: Option<f64>,
pub night_session_close: Option<f64>,
pub day_session_open: f64,
pub day_session_high: f64,
pub day_session_low: f64,
pub day_session_close: f64,
pub volume: f64,
pub open_interest: f64,
pub turnover_value: f64,
pub contract_month: String,
pub volume_only_auction: Option<f64>,
pub emergency_margin_trigger_division: EmergencyMarginTriggerDivision,
pub last_trading_day: Option<String>,
pub special_quotation_day: Option<String>,
pub settlement_price: Option<f64>,
pub central_contract_month_flag: Option<CentralContractMonthFlag>,
}Expand description
Represents a single Futures price record.
Fields§
§code: StringIssue code
derivatives_product_category: StringDerivative Product Category
date: StringTrading day (YYYY-MM-DD)
whole_day_open: f64Whole day open price
whole_day_high: f64Whole day high price
whole_day_low: f64Whole day low price
whole_day_close: f64Whole day close price
morning_session_open: Option<f64>Morning session open price
morning_session_high: Option<f64>Morning session high price
morning_session_low: Option<f64>Morning session low price
morning_session_close: Option<f64>Morning session close price
night_session_open: Option<f64>Night session open price
night_session_high: Option<f64>Night session high price
night_session_low: Option<f64>Night session low price
night_session_close: Option<f64>Night session close price
day_session_open: f64Day session open price
day_session_high: f64Day session high price
day_session_low: f64Day session low price
day_session_close: f64Day session close price
volume: f64Volume
open_interest: f64Open interest
turnover_value: f64Turnover value
contract_month: StringContract month (YYYY-MM)
volume_only_auction: Option<f64>Volume only auction
emergency_margin_trigger_division: EmergencyMarginTriggerDivisionEmergency margin trigger division
last_trading_day: Option<String>Last trading day (YYYY-MM-DD)
special_quotation_day: Option<String>Special quotation day (YYYY-MM-DD)
settlement_price: Option<f64>Settlement price
central_contract_month_flag: Option<CentralContractMonthFlag>Central contract month flag
Trait Implementations§
Source§impl Clone for FuturesPricesItem
impl Clone for FuturesPricesItem
Source§fn clone(&self) -> FuturesPricesItem
fn clone(&self) -> FuturesPricesItem
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 FuturesPricesItem
impl Debug for FuturesPricesItem
Source§impl<'de> Deserialize<'de> for FuturesPricesItem
impl<'de> Deserialize<'de> for FuturesPricesItem
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 FuturesPricesItem
impl PartialEq for FuturesPricesItem
impl StructuralPartialEq for FuturesPricesItem
Auto Trait Implementations§
impl Freeze for FuturesPricesItem
impl RefUnwindSafe for FuturesPricesItem
impl Send for FuturesPricesItem
impl Sync for FuturesPricesItem
impl Unpin for FuturesPricesItem
impl UnwindSafe for FuturesPricesItem
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