pub struct PricePerfomanceOnEarningsDayDetail {
pub fiscal_year: Option<i32>,
pub financial_type: Option<i32>,
pub pub_trading_day: Option<i64>,
pub pub_type: Option<i32>,
pub info_list: Vec<PricePerfomanceInfo>,
pub price_info_index: Option<i32>,
}Fields§
§fiscal_year: Option<i32>§financial_type: Option<i32>§pub_trading_day: Option<i64>§pub_type: Option<i32>§info_list: Vec<PricePerfomanceInfo>§price_info_index: Option<i32>Implementations§
Source§impl PricePerfomanceOnEarningsDayDetail
impl PricePerfomanceOnEarningsDayDetail
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) -> i32
pub fn financial_type(&self) -> i32
Returns the value of financial_type, or the default value if financial_type is unset.
Sourcepub fn pub_trading_day(&self) -> i64
pub fn pub_trading_day(&self) -> i64
Returns the value of pub_trading_day, or the default value if pub_trading_day 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 price_info_index(&self) -> i32
pub fn price_info_index(&self) -> i32
Returns the value of price_info_index, or the default value if price_info_index is unset.
Trait Implementations§
Source§impl Clone for PricePerfomanceOnEarningsDayDetail
impl Clone for PricePerfomanceOnEarningsDayDetail
Source§fn clone(&self) -> PricePerfomanceOnEarningsDayDetail
fn clone(&self) -> PricePerfomanceOnEarningsDayDetail
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Message for PricePerfomanceOnEarningsDayDetail
impl Message for PricePerfomanceOnEarningsDayDetail
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for PricePerfomanceOnEarningsDayDetail
impl PartialEq for PricePerfomanceOnEarningsDayDetail
Source§fn eq(&self, other: &PricePerfomanceOnEarningsDayDetail) -> bool
fn eq(&self, other: &PricePerfomanceOnEarningsDayDetail) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PricePerfomanceOnEarningsDayDetail
Auto Trait Implementations§
impl Freeze for PricePerfomanceOnEarningsDayDetail
impl RefUnwindSafe for PricePerfomanceOnEarningsDayDetail
impl Send for PricePerfomanceOnEarningsDayDetail
impl Sync for PricePerfomanceOnEarningsDayDetail
impl Unpin for PricePerfomanceOnEarningsDayDetail
impl UnsafeUnpin for PricePerfomanceOnEarningsDayDetail
impl UnwindSafe for PricePerfomanceOnEarningsDayDetail
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more