pub struct StockSplitItem {Show 20 fields
pub dir_deci_pub_date: Option<u64>,
pub dir_deci_pub_date_str: Option<String>,
pub reform_type: Option<String>,
pub rate: Option<String>,
pub ex_date: Option<u64>,
pub ex_date_str: Option<String>,
pub sm_deci_date: Option<u64>,
pub sm_deci_date_str: Option<String>,
pub temp_trade_begin_date: Option<u64>,
pub temp_trade_begin_date_str: Option<String>,
pub simul_trade_begin_date: Option<u64>,
pub simul_trade_begin_date_str: Option<String>,
pub simul_trade_end_date: Option<u64>,
pub simul_trade_end_date_str: Option<String>,
pub event_status: Option<String>,
pub new_par_value: Option<f64>,
pub temp_share_code: Option<String>,
pub temp_share_abbr_name: Option<String>,
pub new_trade_unit: Option<i64>,
pub shares_after_effect: Option<f64>,
}Expand description
拆合股单条记录
Fields§
§dir_deci_pub_date: Option<u64>通用字段
公告日时间戳(秒)
dir_deci_pub_date_str: Option<String>公告日字符串,格式 YYYY-MM-DD,对应市场时区
reform_type: Option<String>重组方式
rate: Option<String>比率
ex_date: Option<u64>港股专有字段(仅港股的正股与信托有值)
除权日时间戳(秒)
ex_date_str: Option<String>除权日字符串,格式 YYYY-MM-DD,对应市场时区
sm_deci_date: Option<u64>决议日时间戳(秒)
sm_deci_date_str: Option<String>决议日字符串,格式 YYYY-MM-DD,对应市场时区
temp_trade_begin_date: Option<u64>临时买卖日时间戳(秒)
temp_trade_begin_date_str: Option<String>临时买卖日字符串,格式 YYYY-MM-DD,对应市场时区
simul_trade_begin_date: Option<u64>并行买卖开始日时间戳(秒)
simul_trade_begin_date_str: Option<String>并行买卖开始日字符串,格式 YYYY-MM-DD,对应市场时区
simul_trade_end_date: Option<u64>并行买卖结束日时间戳(秒)
simul_trade_end_date_str: Option<String>并行买卖结束日字符串,格式 YYYY-MM-DD,对应市场时区
event_status: Option<String>事件进程(如:方案实施)
new_par_value: Option<f64>新面值
临时证券代码(如:02988)
临时证券简称(如:腾讯控股)
new_trade_unit: Option<i64>新买卖单位(如:100)
生效后股数(股)
Implementations§
Source§impl StockSplitItem
impl StockSplitItem
Sourcepub fn dir_deci_pub_date(&self) -> u64
pub fn dir_deci_pub_date(&self) -> u64
Returns the value of dir_deci_pub_date, or the default value if dir_deci_pub_date is unset.
Sourcepub fn dir_deci_pub_date_str(&self) -> &str
pub fn dir_deci_pub_date_str(&self) -> &str
Returns the value of dir_deci_pub_date_str, or the default value if dir_deci_pub_date_str is unset.
Sourcepub fn reform_type(&self) -> &str
pub fn reform_type(&self) -> &str
Returns the value of reform_type, or the default value if reform_type is unset.
Sourcepub fn ex_date(&self) -> u64
pub fn ex_date(&self) -> u64
Returns the value of ex_date, or the default value if ex_date is unset.
Sourcepub fn ex_date_str(&self) -> &str
pub fn ex_date_str(&self) -> &str
Returns the value of ex_date_str, or the default value if ex_date_str is unset.
Sourcepub fn sm_deci_date(&self) -> u64
pub fn sm_deci_date(&self) -> u64
Returns the value of sm_deci_date, or the default value if sm_deci_date is unset.
Sourcepub fn sm_deci_date_str(&self) -> &str
pub fn sm_deci_date_str(&self) -> &str
Returns the value of sm_deci_date_str, or the default value if sm_deci_date_str is unset.
Sourcepub fn temp_trade_begin_date(&self) -> u64
pub fn temp_trade_begin_date(&self) -> u64
Returns the value of temp_trade_begin_date, or the default value if temp_trade_begin_date is unset.
Sourcepub fn temp_trade_begin_date_str(&self) -> &str
pub fn temp_trade_begin_date_str(&self) -> &str
Returns the value of temp_trade_begin_date_str, or the default value if temp_trade_begin_date_str is unset.
Sourcepub fn simul_trade_begin_date(&self) -> u64
pub fn simul_trade_begin_date(&self) -> u64
Returns the value of simul_trade_begin_date, or the default value if simul_trade_begin_date is unset.
Sourcepub fn simul_trade_begin_date_str(&self) -> &str
pub fn simul_trade_begin_date_str(&self) -> &str
Returns the value of simul_trade_begin_date_str, or the default value if simul_trade_begin_date_str is unset.
Sourcepub fn simul_trade_end_date(&self) -> u64
pub fn simul_trade_end_date(&self) -> u64
Returns the value of simul_trade_end_date, or the default value if simul_trade_end_date is unset.
Sourcepub fn simul_trade_end_date_str(&self) -> &str
pub fn simul_trade_end_date_str(&self) -> &str
Returns the value of simul_trade_end_date_str, or the default value if simul_trade_end_date_str is unset.
Sourcepub fn event_status(&self) -> &str
pub fn event_status(&self) -> &str
Returns the value of event_status, or the default value if event_status is unset.
Sourcepub fn new_par_value(&self) -> f64
pub fn new_par_value(&self) -> f64
Returns the value of new_par_value, or the default value if new_par_value is unset.
Returns the value of temp_share_code, or the default value if temp_share_code is unset.
Returns the value of temp_share_abbr_name, or the default value if temp_share_abbr_name is unset.
Sourcepub fn new_trade_unit(&self) -> i64
pub fn new_trade_unit(&self) -> i64
Returns the value of new_trade_unit, or the default value if new_trade_unit is unset.
Returns the value of shares_after_effect, or the default value if shares_after_effect is unset.
Trait Implementations§
Source§impl Clone for StockSplitItem
impl Clone for StockSplitItem
Source§fn clone(&self) -> StockSplitItem
fn clone(&self) -> StockSplitItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StockSplitItem
impl Debug for StockSplitItem
Source§impl Default for StockSplitItem
impl Default for StockSplitItem
Source§impl<'de> Deserialize<'de> for StockSplitItemwhere
StockSplitItem: Default,
impl<'de> Deserialize<'de> for StockSplitItemwhere
StockSplitItem: Default,
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>,
Source§impl Message for StockSplitItem
impl Message for StockSplitItem
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.