pub struct CachedPreAfterMarketData {
pub price: Option<f64>,
pub high_price: Option<f64>,
pub low_price: Option<f64>,
pub volume: Option<i64>,
pub turnover: Option<f64>,
pub change_val: Option<f64>,
pub change_rate: Option<f64>,
pub amplitude: Option<f64>,
}Expand description
v1.4.72 BUG-006 L3: 美股夜盘 OHLCV 数据(对齐 proto Qot_Common::PreAfterMarketData)
同一 struct 在 pre_market / after_market / overnight 三个字段都复用。
Fields§
§price: Option<f64>§high_price: Option<f64>§low_price: Option<f64>§volume: Option<i64>§turnover: Option<f64>§change_val: Option<f64>§change_rate: Option<f64>§amplitude: Option<f64>Trait Implementations§
Source§impl Clone for CachedPreAfterMarketData
impl Clone for CachedPreAfterMarketData
Source§fn clone(&self) -> CachedPreAfterMarketData
fn clone(&self) -> CachedPreAfterMarketData
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 CachedPreAfterMarketData
impl Debug for CachedPreAfterMarketData
Source§impl Default for CachedPreAfterMarketData
impl Default for CachedPreAfterMarketData
Source§fn default() -> CachedPreAfterMarketData
fn default() -> CachedPreAfterMarketData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CachedPreAfterMarketData
impl RefUnwindSafe for CachedPreAfterMarketData
impl Send for CachedPreAfterMarketData
impl Sync for CachedPreAfterMarketData
impl Unpin for CachedPreAfterMarketData
impl UnsafeUnpin for CachedPreAfterMarketData
impl UnwindSafe for CachedPreAfterMarketData
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