pub struct HkBuyBackItem {
pub publ_date: Option<u64>,
pub publ_date_str: Option<String>,
pub end_date: Option<u64>,
pub end_date_str: Option<String>,
pub buy_back_money: Option<f64>,
pub buy_back_sum: Option<i64>,
pub percentage: Option<f64>,
pub high_price: Option<f64>,
pub low_price: Option<f64>,
pub cumulative_sum: Option<i64>,
pub cumulative_percentage: Option<f64>,
pub share_type: Option<String>,
}Expand description
港股回购单条记录
Fields§
§publ_date: Option<u64>公告日时间戳(秒)
publ_date_str: Option<String>公告日字符串,格式 YYYY-MM-DD,对应市场时区
end_date: Option<u64>回购截止日时间戳(秒)
end_date_str: Option<String>回购截止日字符串,格式 YYYY-MM-DD,对应市场时区
buy_back_money: Option<f64>回购金额
buy_back_sum: Option<i64>回购股数(股)
percentage: Option<f64>占已发行股份百分比,百分号前的值,如 12.34 表示 12.34%
high_price: Option<f64>最高回购价
low_price: Option<f64>最低回购价
cumulative_sum: Option<i64>本轮累计回购股数(股)
cumulative_percentage: Option<f64>本轮累计回购占总股本百分比,百分号前的值,如 12.34 表示 12.34%
股份类别
Implementations§
Source§impl HkBuyBackItem
impl HkBuyBackItem
Sourcepub fn publ_date(&self) -> u64
pub fn publ_date(&self) -> u64
Returns the value of publ_date, or the default value if publ_date is unset.
Sourcepub fn publ_date_str(&self) -> &str
pub fn publ_date_str(&self) -> &str
Returns the value of publ_date_str, or the default value if publ_date_str is unset.
Sourcepub fn end_date(&self) -> u64
pub fn end_date(&self) -> u64
Returns the value of end_date, or the default value if end_date is unset.
Sourcepub fn end_date_str(&self) -> &str
pub fn end_date_str(&self) -> &str
Returns the value of end_date_str, or the default value if end_date_str is unset.
Sourcepub fn buy_back_money(&self) -> f64
pub fn buy_back_money(&self) -> f64
Returns the value of buy_back_money, or the default value if buy_back_money is unset.
Sourcepub fn buy_back_sum(&self) -> i64
pub fn buy_back_sum(&self) -> i64
Returns the value of buy_back_sum, or the default value if buy_back_sum is unset.
Sourcepub fn percentage(&self) -> f64
pub fn percentage(&self) -> f64
Returns the value of percentage, or the default value if percentage is unset.
Sourcepub fn high_price(&self) -> f64
pub fn high_price(&self) -> f64
Returns the value of high_price, or the default value if high_price is unset.
Sourcepub fn low_price(&self) -> f64
pub fn low_price(&self) -> f64
Returns the value of low_price, or the default value if low_price is unset.
Sourcepub fn cumulative_sum(&self) -> i64
pub fn cumulative_sum(&self) -> i64
Returns the value of cumulative_sum, or the default value if cumulative_sum is unset.
Sourcepub fn cumulative_percentage(&self) -> f64
pub fn cumulative_percentage(&self) -> f64
Returns the value of cumulative_percentage, or the default value if cumulative_percentage is unset.
Returns the value of share_type, or the default value if share_type is unset.
Trait Implementations§
Source§impl Clone for HkBuyBackItem
impl Clone for HkBuyBackItem
Source§fn clone(&self) -> HkBuyBackItem
fn clone(&self) -> HkBuyBackItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HkBuyBackItem
impl Debug for HkBuyBackItem
Source§impl Default for HkBuyBackItem
impl Default for HkBuyBackItem
Source§impl<'de> Deserialize<'de> for HkBuyBackItemwhere
HkBuyBackItem: Default,
impl<'de> Deserialize<'de> for HkBuyBackItemwhere
HkBuyBackItem: 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 HkBuyBackItem
impl Message for HkBuyBackItem
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.