pub struct PlateUnitData {Show 21 fields
pub plate_id: u64,
pub price_nominal: Option<u32>,
pub raise_fall_speed: Option<i32>,
pub trade_trunover: Option<u64>,
pub trade_volumn: Option<u64>,
pub price_highest: Option<u32>,
pub price_lowest: Option<u32>,
pub price_open: Option<u32>,
pub price_last: Option<u32>,
pub finance_pe_ave: Option<i32>,
pub market_val: Option<u64>,
pub trade_changeraio: Option<u32>,
pub volumn_ratio: Option<u32>,
pub buysell_ratio: Option<i32>,
pub price_amplitude: Option<u32>,
pub price_rise_count: Option<u32>,
pub price_fall_count: Option<u32>,
pub net_inflow: Option<i64>,
pub finance_pb_ave: Option<i32>,
pub circulation_market_val: Option<u64>,
pub leader_stock_id: Option<u64>,
}Expand description
//////////////////////////////////////////////////////////////////////////////////////////////// 命令号:6602 功 能:板块集合下的多个板块项, 按指定列排序, 拉取对应数据列表 备 注:考虑到PlateSet下的数据项字段未来可能会有较大的变化, 跟板块的元素数据独立出来 Plate_Unit_Data
Fields§
§plate_id: u64板块ID
price_nominal: Option<u32>最新价
raise_fall_speed: Option<i32>涨跌速率
trade_trunover: Option<u64>成交额
trade_volumn: Option<u64>成交量
price_highest: Option<u32>最高价
price_lowest: Option<u32>最低价
price_open: Option<u32>开盘价
price_last: Option<u32>昨收价
finance_pe_ave: Option<i32>平均市盈率
market_val: Option<u64>市值
trade_changeraio: Option<u32>换手率
volumn_ratio: Option<u32>量比
buysell_ratio: Option<i32>委比
price_amplitude: Option<u32>震幅
price_rise_count: Option<u32>涨家数
price_fall_count: Option<u32>跌家数
net_inflow: Option<i64>资金净流入
finance_pb_ave: Option<i32>平均市净率
circulation_market_val: Option<u64>流通市值
leader_stock_id: Option<u64>领涨股票ID
Implementations§
Source§impl PlateUnitData
impl PlateUnitData
Sourcepub fn price_nominal(&self) -> u32
pub fn price_nominal(&self) -> u32
Returns the value of price_nominal, or the default value if price_nominal is unset.
Sourcepub fn raise_fall_speed(&self) -> i32
pub fn raise_fall_speed(&self) -> i32
Returns the value of raise_fall_speed, or the default value if raise_fall_speed is unset.
Sourcepub fn trade_trunover(&self) -> u64
pub fn trade_trunover(&self) -> u64
Returns the value of trade_trunover, or the default value if trade_trunover is unset.
Sourcepub fn trade_volumn(&self) -> u64
pub fn trade_volumn(&self) -> u64
Returns the value of trade_volumn, or the default value if trade_volumn is unset.
Sourcepub fn price_highest(&self) -> u32
pub fn price_highest(&self) -> u32
Returns the value of price_highest, or the default value if price_highest is unset.
Sourcepub fn price_lowest(&self) -> u32
pub fn price_lowest(&self) -> u32
Returns the value of price_lowest, or the default value if price_lowest is unset.
Sourcepub fn price_open(&self) -> u32
pub fn price_open(&self) -> u32
Returns the value of price_open, or the default value if price_open is unset.
Sourcepub fn price_last(&self) -> u32
pub fn price_last(&self) -> u32
Returns the value of price_last, or the default value if price_last is unset.
Sourcepub fn finance_pe_ave(&self) -> i32
pub fn finance_pe_ave(&self) -> i32
Returns the value of finance_pe_ave, or the default value if finance_pe_ave is unset.
Sourcepub fn market_val(&self) -> u64
pub fn market_val(&self) -> u64
Returns the value of market_val, or the default value if market_val is unset.
Sourcepub fn trade_changeraio(&self) -> u32
pub fn trade_changeraio(&self) -> u32
Returns the value of trade_changeraio, or the default value if trade_changeraio is unset.
Sourcepub fn volumn_ratio(&self) -> u32
pub fn volumn_ratio(&self) -> u32
Returns the value of volumn_ratio, or the default value if volumn_ratio is unset.
Sourcepub fn buysell_ratio(&self) -> i32
pub fn buysell_ratio(&self) -> i32
Returns the value of buysell_ratio, or the default value if buysell_ratio is unset.
Sourcepub fn price_amplitude(&self) -> u32
pub fn price_amplitude(&self) -> u32
Returns the value of price_amplitude, or the default value if price_amplitude is unset.
Sourcepub fn price_rise_count(&self) -> u32
pub fn price_rise_count(&self) -> u32
Returns the value of price_rise_count, or the default value if price_rise_count is unset.
Sourcepub fn price_fall_count(&self) -> u32
pub fn price_fall_count(&self) -> u32
Returns the value of price_fall_count, or the default value if price_fall_count is unset.
Sourcepub fn net_inflow(&self) -> i64
pub fn net_inflow(&self) -> i64
Returns the value of net_inflow, or the default value if net_inflow is unset.
Sourcepub fn finance_pb_ave(&self) -> i32
pub fn finance_pb_ave(&self) -> i32
Returns the value of finance_pb_ave, or the default value if finance_pb_ave is unset.
Sourcepub fn circulation_market_val(&self) -> u64
pub fn circulation_market_val(&self) -> u64
Returns the value of circulation_market_val, or the default value if circulation_market_val is unset.
Sourcepub fn leader_stock_id(&self) -> u64
pub fn leader_stock_id(&self) -> u64
Returns the value of leader_stock_id, or the default value if leader_stock_id is unset.
Trait Implementations§
Source§impl Clone for PlateUnitData
impl Clone for PlateUnitData
Source§fn clone(&self) -> PlateUnitData
fn clone(&self) -> PlateUnitData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PlateUnitData
impl Debug for PlateUnitData
Source§impl Default for PlateUnitData
impl Default for PlateUnitData
Source§impl Hash for PlateUnitData
impl Hash for PlateUnitData
Source§impl Message for PlateUnitData
impl Message for PlateUnitData
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for PlateUnitData
impl PartialEq for PlateUnitData
impl Copy for PlateUnitData
impl Eq for PlateUnitData
impl StructuralPartialEq for PlateUnitData
Auto Trait Implementations§
impl Freeze for PlateUnitData
impl RefUnwindSafe for PlateUnitData
impl Send for PlateUnitData
impl Sync for PlateUnitData
impl Unpin for PlateUnitData
impl UnsafeUnpin for PlateUnitData
impl UnwindSafe for PlateUnitData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.