[][src]Struct jqdata::GetIndexWeights

pub struct GetIndexWeights {
    pub code: String,
    pub date: String,
}

获取指数成份股给定日期的权重数据,每月更新一次 code: 代表指数的标准形式代码, 形式:指数代码.交易所代码,例如"000001.XSHG"。 date: 查询权重信息的日期,形式:"%Y-%m-%d",例如"2018-05-03";

Fields

code: Stringdate: String

Trait Implementations

impl BodyConsumer<Vec<IndexWeight>> for GetIndexWeights[src]

impl CsvListBodyConsumer for GetIndexWeights[src]

type Output = IndexWeight

impl Debug for GetIndexWeights[src]

impl<'de> Deserialize<'de> for GetIndexWeights[src]

impl HasMethod for GetIndexWeights[src]

impl Serialize for GetIndexWeights[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,