pub struct ProfitGrowthItem {
pub financial_year: Option<u32>,
pub financial_quarter: Option<u32>,
pub period_str: Option<String>,
pub report_date: Option<i64>,
pub report_date_str: Option<String>,
pub market_cap_multiple: Option<f64>,
pub finance_data_multiple: Option<f64>,
}Fields§
§financial_year: Option<u32>财报年度
financial_quarter: Option<u32>财报季度(FinancialType 1=Q1, 2=Q2, 3=Q3, 4=FY)
period_str: Option<String>财报周期,如 “2024/Q3”、“2024/FY”
report_date: Option<i64>报告日时间戳(秒)
report_date_str: Option<String>报告日字符串,格式 YYYY-MM-DD,对应市场时区
market_cap_multiple: Option<f64>报告日市值倍数(基准期 = 1)
finance_data_multiple: Option<f64>盈利 / 营收倍数(基准期 = 1,依 valuationType 而定)
Implementations§
Source§impl ProfitGrowthItem
impl ProfitGrowthItem
Sourcepub fn financial_year(&self) -> u32
pub fn financial_year(&self) -> u32
Returns the value of financial_year, or the default value if financial_year is unset.
Sourcepub fn financial_quarter(&self) -> u32
pub fn financial_quarter(&self) -> u32
Returns the value of financial_quarter, or the default value if financial_quarter is unset.
Sourcepub fn period_str(&self) -> &str
pub fn period_str(&self) -> &str
Returns the value of period_str, or the default value if period_str is unset.
Sourcepub fn report_date(&self) -> i64
pub fn report_date(&self) -> i64
Returns the value of report_date, or the default value if report_date is unset.
Sourcepub fn report_date_str(&self) -> &str
pub fn report_date_str(&self) -> &str
Returns the value of report_date_str, or the default value if report_date_str is unset.
Sourcepub fn market_cap_multiple(&self) -> f64
pub fn market_cap_multiple(&self) -> f64
Returns the value of market_cap_multiple, or the default value if market_cap_multiple is unset.
Sourcepub fn finance_data_multiple(&self) -> f64
pub fn finance_data_multiple(&self) -> f64
Returns the value of finance_data_multiple, or the default value if finance_data_multiple is unset.
Trait Implementations§
Source§impl Clone for ProfitGrowthItem
impl Clone for ProfitGrowthItem
Source§fn clone(&self) -> ProfitGrowthItem
fn clone(&self) -> ProfitGrowthItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProfitGrowthItem
impl Debug for ProfitGrowthItem
Source§impl Default for ProfitGrowthItem
impl Default for ProfitGrowthItem
Source§impl<'de> Deserialize<'de> for ProfitGrowthItemwhere
ProfitGrowthItem: Default,
impl<'de> Deserialize<'de> for ProfitGrowthItemwhere
ProfitGrowthItem: 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 ProfitGrowthItem
impl Message for ProfitGrowthItem
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.