pub struct PlateAdrData {Show 14 fields
pub stock_id: Option<u64>,
pub price_nominal: Option<u64>,
pub change_val: Option<i32>,
pub change_ratio: Option<i32>,
pub adr_stock_id: Option<u64>,
pub adr_price_nominal: Option<u64>,
pub adr_hkd_price_nominal: Option<u64>,
pub adr_rel_change_val: Option<i32>,
pub adr_rel_change_ratio: Option<i32>,
pub adr_change_ratio: Option<i32>,
pub convertion_ratio: Option<i32>,
pub trade_vol: Option<u64>,
pub stock_lcp: Option<u64>,
pub adr_lcp: Option<u64>,
}Expand description
//////////////////////////////////////////////////////////////////////////////////////////////// 命令号:6609 功 能:ADR板块下的数据, 按指定列排序, 拉取对应数据列表 Plate_ADR_Data
Fields§
§stock_id: Option<u64>股票ID
price_nominal: Option<u64>最新价 * 1000
change_val: Option<i32>涨跌额 * 1000
change_ratio: Option<i32>涨跌幅 * 100000
adr_stock_id: Option<u64>adr股票ID
adr_price_nominal: Option<u64>最新价 * 1000
adr_hkd_price_nominal: Option<u64>HKD最新价 * 1000
adr_rel_change_val: Option<i32>相对价差HKD * 1000
adr_rel_change_ratio: Option<i32>相对涨跌幅 * 100000
adr_change_ratio: Option<i32>ADR涨跌幅 * 100000
convertion_ratio: Option<i32>换股比例
trade_vol: Option<u64>ADR成交量
stock_lcp: Option<u64>正股昨收价 * 1000
adr_lcp: Option<u64>adr昨收价 * 1000
Implementations§
Source§impl PlateAdrData
impl PlateAdrData
Sourcepub fn stock_id(&self) -> u64
pub fn stock_id(&self) -> u64
Returns the value of stock_id, or the default value if stock_id is unset.
Sourcepub fn price_nominal(&self) -> u64
pub fn price_nominal(&self) -> u64
Returns the value of price_nominal, or the default value if price_nominal is unset.
Sourcepub fn change_val(&self) -> i32
pub fn change_val(&self) -> i32
Returns the value of change_val, or the default value if change_val is unset.
Sourcepub fn change_ratio(&self) -> i32
pub fn change_ratio(&self) -> i32
Returns the value of change_ratio, or the default value if change_ratio is unset.
Sourcepub fn adr_stock_id(&self) -> u64
pub fn adr_stock_id(&self) -> u64
Returns the value of adr_stock_id, or the default value if adr_stock_id is unset.
Sourcepub fn adr_price_nominal(&self) -> u64
pub fn adr_price_nominal(&self) -> u64
Returns the value of adr_price_nominal, or the default value if adr_price_nominal is unset.
Sourcepub fn adr_hkd_price_nominal(&self) -> u64
pub fn adr_hkd_price_nominal(&self) -> u64
Returns the value of adr_hkd_price_nominal, or the default value if adr_hkd_price_nominal is unset.
Sourcepub fn adr_rel_change_val(&self) -> i32
pub fn adr_rel_change_val(&self) -> i32
Returns the value of adr_rel_change_val, or the default value if adr_rel_change_val is unset.
Sourcepub fn adr_rel_change_ratio(&self) -> i32
pub fn adr_rel_change_ratio(&self) -> i32
Returns the value of adr_rel_change_ratio, or the default value if adr_rel_change_ratio is unset.
Sourcepub fn adr_change_ratio(&self) -> i32
pub fn adr_change_ratio(&self) -> i32
Returns the value of adr_change_ratio, or the default value if adr_change_ratio is unset.
Sourcepub fn convertion_ratio(&self) -> i32
pub fn convertion_ratio(&self) -> i32
Returns the value of convertion_ratio, or the default value if convertion_ratio is unset.
Sourcepub fn trade_vol(&self) -> u64
pub fn trade_vol(&self) -> u64
Returns the value of trade_vol, or the default value if trade_vol is unset.
Trait Implementations§
Source§impl Clone for PlateAdrData
impl Clone for PlateAdrData
Source§fn clone(&self) -> PlateAdrData
fn clone(&self) -> PlateAdrData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PlateAdrData
impl Debug for PlateAdrData
Source§impl Default for PlateAdrData
impl Default for PlateAdrData
Source§impl Hash for PlateAdrData
impl Hash for PlateAdrData
Source§impl Message for PlateAdrData
impl Message for PlateAdrData
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 PlateAdrData
impl PartialEq for PlateAdrData
impl Copy for PlateAdrData
impl Eq for PlateAdrData
impl StructuralPartialEq for PlateAdrData
Auto Trait Implementations§
impl Freeze for PlateAdrData
impl RefUnwindSafe for PlateAdrData
impl Send for PlateAdrData
impl Sync for PlateAdrData
impl Unpin for PlateAdrData
impl UnsafeUnpin for PlateAdrData
impl UnwindSafe for PlateAdrData
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.