pub struct FinancialReport {
pub date_time: Option<i64>,
pub date_time_str: Option<String>,
pub fiscal_year: Option<i32>,
pub financial_type: Option<i32>,
pub period_text: Option<String>,
pub item_list: Vec<FinancialItem>,
pub currency_info: Option<String>,
pub accounting_standards: Option<String>,
pub auditor_report: Option<String>,
pub currency_code: Option<String>,
}Expand description
财务报表
Fields§
§date_time: Option<i64>财报截止日时间戳(秒)
date_time_str: Option<String>财报截止日时间字符串,格式 YYYY-MM-DD,对应市场时区
fiscal_year: Option<i32>财务年度,如 2024;0 表示无数据
financial_type: Option<i32>财报类型,详见 Qot_Common.F10Type 定义;0 表示未知,下次请求可原样传入
period_text: Option<String>财报周期,如 “2024/Q3”、“2024/FY”
item_list: Vec<FinancialItem>财务数据项列表
currency_info: Option<String>货币单位(展示型),如 “人民币”、“美元”
accounting_standards: Option<String>会计准则,如 “国际会计准则”
auditor_report: Option<String>审计意见,如 “无保留意见”
currency_code: Option<String>币种代码(ISO 4217),如 “CNY”、“USD”
Implementations§
Source§impl FinancialReport
impl FinancialReport
Sourcepub fn date_time(&self) -> i64
pub fn date_time(&self) -> i64
Returns the value of date_time, or the default value if date_time is unset.
Sourcepub fn date_time_str(&self) -> &str
pub fn date_time_str(&self) -> &str
Returns the value of date_time_str, or the default value if date_time_str is unset.
Sourcepub fn fiscal_year(&self) -> i32
pub fn fiscal_year(&self) -> i32
Returns the value of fiscal_year, or the default value if fiscal_year is unset.
Sourcepub fn financial_type(&self) -> F10Type
pub fn financial_type(&self) -> F10Type
Returns the enum value of financial_type, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_financial_type(&mut self, value: F10Type)
pub fn set_financial_type(&mut self, value: F10Type)
Sets financial_type to the provided enum value.
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 currency_info(&self) -> &str
pub fn currency_info(&self) -> &str
Returns the value of currency_info, or the default value if currency_info is unset.
Sourcepub fn accounting_standards(&self) -> &str
pub fn accounting_standards(&self) -> &str
Returns the value of accounting_standards, or the default value if accounting_standards is unset.
Sourcepub fn auditor_report(&self) -> &str
pub fn auditor_report(&self) -> &str
Returns the value of auditor_report, or the default value if auditor_report is unset.
Sourcepub fn currency_code(&self) -> &str
pub fn currency_code(&self) -> &str
Returns the value of currency_code, or the default value if currency_code is unset.
Trait Implementations§
Source§impl Clone for FinancialReport
impl Clone for FinancialReport
Source§fn clone(&self) -> FinancialReport
fn clone(&self) -> FinancialReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FinancialReport
impl Debug for FinancialReport
Source§impl Default for FinancialReport
impl Default for FinancialReport
Source§impl<'de> Deserialize<'de> for FinancialReportwhere
FinancialReport: Default,
impl<'de> Deserialize<'de> for FinancialReportwhere
FinancialReport: 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 FinancialReport
impl Message for FinancialReport
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.