pub struct EarningsCalendarItem {Show 13 fields
pub security: Security,
pub name: Option<String>,
pub earnings_date: Option<String>,
pub earnings_timestamp: Option<f64>,
pub pub_type: Option<i32>,
pub period_text: Option<String>,
pub estimate_list: Vec<EstimateData>,
pub option_volume: Option<i64>,
pub iv: Option<f64>,
pub iv_rank: Option<f64>,
pub iv_percentile: Option<f64>,
pub market_cap: Option<f64>,
pub price: Option<f64>,
}Expand description
财报日历项
Fields§
§security: Security股票
name: Option<String>股票名称
earnings_date: Option<String>财报日期(“yyyy-MM-dd”)
earnings_timestamp: Option<f64>财报发布时间戳(秒)
pub_type: Option<i32>EarningsCalendarPubType
period_text: Option<String>财年周期(如“2025Q1“)
estimate_list: Vec<EstimateData>预测数据列表
option_volume: Option<i64>期权字段(仅港美股)
期权成交量
iv: Option<f64>隐含波动率(%)
iv_rank: Option<f64>IV等级(%)
iv_percentile: Option<f64>IV百分位数(%)
market_cap: Option<f64>行情字段
实时市值
price: Option<f64>最新价
Implementations§
Source§impl EarningsCalendarItem
impl EarningsCalendarItem
Sourcepub fn earnings_date(&self) -> &str
pub fn earnings_date(&self) -> &str
Returns the value of earnings_date, or the default value if earnings_date is unset.
Sourcepub fn earnings_timestamp(&self) -> f64
pub fn earnings_timestamp(&self) -> f64
Returns the value of earnings_timestamp, or the default value if earnings_timestamp is unset.
Sourcepub fn pub_type(&self) -> i32
pub fn pub_type(&self) -> i32
Returns the value of pub_type, or the default value if pub_type is unset.
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 option_volume(&self) -> i64
pub fn option_volume(&self) -> i64
Returns the value of option_volume, or the default value if option_volume is unset.
Sourcepub fn iv_rank(&self) -> f64
pub fn iv_rank(&self) -> f64
Returns the value of iv_rank, or the default value if iv_rank is unset.
Sourcepub fn iv_percentile(&self) -> f64
pub fn iv_percentile(&self) -> f64
Returns the value of iv_percentile, or the default value if iv_percentile is unset.
Sourcepub fn market_cap(&self) -> f64
pub fn market_cap(&self) -> f64
Returns the value of market_cap, or the default value if market_cap is unset.
Trait Implementations§
Source§impl Clone for EarningsCalendarItem
impl Clone for EarningsCalendarItem
Source§fn clone(&self) -> EarningsCalendarItem
fn clone(&self) -> EarningsCalendarItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EarningsCalendarItem
impl Debug for EarningsCalendarItem
Source§impl Default for EarningsCalendarItem
impl Default for EarningsCalendarItem
Source§impl<'de> Deserialize<'de> for EarningsCalendarItemwhere
EarningsCalendarItem: Default,
impl<'de> Deserialize<'de> for EarningsCalendarItemwhere
EarningsCalendarItem: 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 EarningsCalendarItem
impl Message for EarningsCalendarItem
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.