[][src]Struct qifi_rs::data::L2X

pub struct L2X {
    pub index: i32,
    pub time: String,
    pub price: f64,
    pub isbuy: bool,
    pub vol: i32,
    pub buyno: i32,
    pub sellno: i32,
    pub buyprice: f64,
    pub sellprice: f64,
    pub buyvol: i32,
    pub sellvol: i32,
    pub marketname: String,
    pub code: String,
}

L2行情数据, 注意我为此都添加大量的接口 index: 索引 time: 时间 price: 最新价格 isbuy:是否买 vol: 成交量 buyno: sellno: buyprice: sellprice: buyvol: sellvol: marketname: 市场名称 code:

Fields

index: i32time: Stringprice: f64isbuy: boolvol: i32buyno: i32sellno: i32buyprice: f64sellprice: f64buyvol: i32sellvol: i32marketname: Stringcode: String

Trait Implementations

impl Debug for L2X[src]

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

impl Serialize for L2X[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> Same<T> for T

type Output = T

Should always be Self

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>,