pub struct IndexHistoricalData {
pub timestamp: UnixMillis,
pub adjust: Option<Adjustment>,
pub item: Vec<PriceBarItem>,
}Expand description
指数历史行情包含固定为 null 的复权字段。
Fields§
§timestamp: UnixMillis§adjust: Option<Adjustment>§item: Vec<PriceBarItem>Trait Implementations§
Source§impl Clone for IndexHistoricalData
impl Clone for IndexHistoricalData
Source§fn clone(&self) -> IndexHistoricalData
fn clone(&self) -> IndexHistoricalData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IndexHistoricalData
impl Debug for IndexHistoricalData
Source§impl<'de> Deserialize<'de> for IndexHistoricalData
impl<'de> Deserialize<'de> for IndexHistoricalData
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 IndexHistoricalData
impl PartialEq for IndexHistoricalData
impl StructuralPartialEq for IndexHistoricalData
Auto Trait Implementations§
impl Freeze for IndexHistoricalData
impl RefUnwindSafe for IndexHistoricalData
impl Send for IndexHistoricalData
impl Sync for IndexHistoricalData
impl Unpin for IndexHistoricalData
impl UnsafeUnpin for IndexHistoricalData
impl UnwindSafe for IndexHistoricalData
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