pub struct S2c {Show 15 fields
pub institution_name: Option<String>,
pub description: Option<String>,
pub position_value: Option<f64>,
pub last_position_value: Option<f64>,
pub position_value_change_pct: Option<f64>,
pub total_holding_count: Option<i64>,
pub holding_change_count: Option<i64>,
pub new_count: Option<i32>,
pub sold_out_count: Option<i32>,
pub increase_count: Option<i32>,
pub decrease_count: Option<i32>,
pub top10_pct: Option<f64>,
pub top10_pct_change: Option<f64>,
pub disclosure_date: Option<String>,
pub currency: Option<String>,
}Fields§
§institution_name: Option<String>机构名称
description: Option<String>机构简介
position_value: Option<f64>持仓市值
last_position_value: Option<f64>上期持仓市值
position_value_change_pct: Option<f64>市值变化比例(%)
total_holding_count: Option<i64>总持仓数
holding_change_count: Option<i64>持仓变动数
new_count: Option<i32>建仓标的数
sold_out_count: Option<i32>清仓标的数
increase_count: Option<i32>增持标的数
decrease_count: Option<i32>减持标的数
top10_pct: Option<f64>Top10持股占比(%)
top10_pct_change: Option<f64>Top10占比变动(%)
disclosure_date: Option<String>披露日期(yyyy-MM-dd)
currency: Option<String>币种
Implementations§
Source§impl S2c
impl S2c
Sourcepub fn institution_name(&self) -> &str
pub fn institution_name(&self) -> &str
Returns the value of institution_name, or the default value if institution_name is unset.
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the value of description, or the default value if description is unset.
Sourcepub fn position_value(&self) -> f64
pub fn position_value(&self) -> f64
Returns the value of position_value, or the default value if position_value is unset.
Sourcepub fn last_position_value(&self) -> f64
pub fn last_position_value(&self) -> f64
Returns the value of last_position_value, or the default value if last_position_value is unset.
Sourcepub fn position_value_change_pct(&self) -> f64
pub fn position_value_change_pct(&self) -> f64
Returns the value of position_value_change_pct, or the default value if position_value_change_pct is unset.
Sourcepub fn total_holding_count(&self) -> i64
pub fn total_holding_count(&self) -> i64
Returns the value of total_holding_count, or the default value if total_holding_count is unset.
Sourcepub fn holding_change_count(&self) -> i64
pub fn holding_change_count(&self) -> i64
Returns the value of holding_change_count, or the default value if holding_change_count is unset.
Sourcepub fn new_count(&self) -> i32
pub fn new_count(&self) -> i32
Returns the value of new_count, or the default value if new_count is unset.
Sourcepub fn sold_out_count(&self) -> i32
pub fn sold_out_count(&self) -> i32
Returns the value of sold_out_count, or the default value if sold_out_count is unset.
Sourcepub fn increase_count(&self) -> i32
pub fn increase_count(&self) -> i32
Returns the value of increase_count, or the default value if increase_count is unset.
Sourcepub fn decrease_count(&self) -> i32
pub fn decrease_count(&self) -> i32
Returns the value of decrease_count, or the default value if decrease_count is unset.
Sourcepub fn top10_pct(&self) -> f64
pub fn top10_pct(&self) -> f64
Returns the value of top10_pct, or the default value if top10_pct is unset.
Sourcepub fn top10_pct_change(&self) -> f64
pub fn top10_pct_change(&self) -> f64
Returns the value of top10_pct_change, or the default value if top10_pct_change is unset.
Sourcepub fn disclosure_date(&self) -> &str
pub fn disclosure_date(&self) -> &str
Returns the value of disclosure_date, or the default value if disclosure_date is unset.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for S2c
impl<'de> Deserialize<'de> for S2c
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 S2c
impl Message for S2c
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.