pub struct OwnershipDetailItem {
pub period_text: Option<String>,
pub holder_id: Option<u64>,
pub name: Option<String>,
pub holder_quantity: Option<i64>,
pub holder_quantity_change: Option<i64>,
pub holder_pct: Option<f64>,
pub holder_pct_change: Option<f64>,
pub holding_date: Option<u64>,
pub holding_date_str: Option<String>,
pub close_price: Option<f64>,
pub price_change_pct: Option<f64>,
pub source_group_name: Option<String>,
}Fields§
§period_text: Option<String>报告期,如 “2025/Q3”
holder_id: Option<u64>持股人 ID
name: Option<String>股东名称
holder_quantity: Option<i64>总持股数(股)
holder_quantity_change: Option<i64>持股变动数(股,正为增持,负为减持)
holder_pct: Option<f64>持股比例(%),如 12.34 表示 12.34%
holder_pct_change: Option<f64>持股变动比例(%),如 12.34 表示 12.34%;负值为减少
holding_date: Option<u64>持股日期时间戳(秒)
holding_date_str: Option<String>持股日期字符串,格式 YYYY-MM-DD,香港时区
close_price: Option<f64>持股日期对应收盘价(真实价格)
price_change_pct: Option<f64>持股日期对应涨跌幅(%),如 -0.4467 表示 -0.4467%
source_group_name: Option<String>持股明细披露信息来源(如 13F、多份文件等)
Implementations§
Source§impl OwnershipDetailItem
impl OwnershipDetailItem
Sourcepub fn period_text(&self) -> &str
pub fn period_text(&self) -> &str
Returns the value of period_text, or the default value if period_text is unset.
Sourcepub fn holder_id(&self) -> u64
pub fn holder_id(&self) -> u64
Returns the value of holder_id, or the default value if holder_id is unset.
Sourcepub fn holder_quantity(&self) -> i64
pub fn holder_quantity(&self) -> i64
Returns the value of holder_quantity, or the default value if holder_quantity is unset.
Sourcepub fn holder_quantity_change(&self) -> i64
pub fn holder_quantity_change(&self) -> i64
Returns the value of holder_quantity_change, or the default value if holder_quantity_change is unset.
Sourcepub fn holder_pct(&self) -> f64
pub fn holder_pct(&self) -> f64
Returns the value of holder_pct, or the default value if holder_pct is unset.
Sourcepub fn holder_pct_change(&self) -> f64
pub fn holder_pct_change(&self) -> f64
Returns the value of holder_pct_change, or the default value if holder_pct_change is unset.
Sourcepub fn holding_date(&self) -> u64
pub fn holding_date(&self) -> u64
Returns the value of holding_date, or the default value if holding_date is unset.
Sourcepub fn holding_date_str(&self) -> &str
pub fn holding_date_str(&self) -> &str
Returns the value of holding_date_str, or the default value if holding_date_str is unset.
Sourcepub fn close_price(&self) -> f64
pub fn close_price(&self) -> f64
Returns the value of close_price, or the default value if close_price is unset.
Sourcepub fn price_change_pct(&self) -> f64
pub fn price_change_pct(&self) -> f64
Returns the value of price_change_pct, or the default value if price_change_pct is unset.
Sourcepub fn source_group_name(&self) -> &str
pub fn source_group_name(&self) -> &str
Returns the value of source_group_name, or the default value if source_group_name is unset.
Trait Implementations§
Source§impl Clone for OwnershipDetailItem
impl Clone for OwnershipDetailItem
Source§fn clone(&self) -> OwnershipDetailItem
fn clone(&self) -> OwnershipDetailItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OwnershipDetailItem
impl Debug for OwnershipDetailItem
Source§impl Default for OwnershipDetailItem
impl Default for OwnershipDetailItem
Source§impl<'de> Deserialize<'de> for OwnershipDetailItemwhere
OwnershipDetailItem: Default,
impl<'de> Deserialize<'de> for OwnershipDetailItemwhere
OwnershipDetailItem: 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 OwnershipDetailItem
impl Message for OwnershipDetailItem
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.