pub struct ProfitGrowthRateResponse {
pub ret_code: Option<i32>,
pub ret_msg: Option<String>,
pub stock_id: Option<u64>,
pub conclusion_label_lang_id: Option<StringId>,
pub conclusion_detailed_lang_id: Option<StringId>,
pub financial_ttm_multiple: Option<i64>,
pub market_cap_multiple: Option<i64>,
pub profit_data: Vec<ProfitData>,
pub year_count: Option<i32>,
}Fields§
§ret_code: Option<i32>§ret_msg: Option<String>§stock_id: Option<u64>§conclusion_label_lang_id: Option<StringId>§conclusion_detailed_lang_id: Option<StringId>§financial_ttm_multiple: Option<i64>§market_cap_multiple: Option<i64>§profit_data: Vec<ProfitData>§year_count: Option<i32>Implementations§
Source§impl ProfitGrowthRateResponse
impl ProfitGrowthRateResponse
Sourcepub fn ret_code(&self) -> i32
pub fn ret_code(&self) -> i32
Returns the value of ret_code, or the default value if ret_code is unset.
Sourcepub fn ret_msg(&self) -> &str
pub fn ret_msg(&self) -> &str
Returns the value of ret_msg, or the default value if ret_msg is unset.
Sourcepub fn stock_id(&self) -> u64
pub fn stock_id(&self) -> u64
Returns the value of stock_id, or the default value if stock_id is unset.
Sourcepub fn financial_ttm_multiple(&self) -> i64
pub fn financial_ttm_multiple(&self) -> i64
Returns the value of financial_ttm_multiple, or the default value if financial_ttm_multiple is unset.
Sourcepub fn market_cap_multiple(&self) -> i64
pub fn market_cap_multiple(&self) -> i64
Returns the value of market_cap_multiple, or the default value if market_cap_multiple is unset.
Sourcepub fn year_count(&self) -> i32
pub fn year_count(&self) -> i32
Returns the value of year_count, or the default value if year_count is unset.
Trait Implementations§
Source§impl Clone for ProfitGrowthRateResponse
impl Clone for ProfitGrowthRateResponse
Source§fn clone(&self) -> ProfitGrowthRateResponse
fn clone(&self) -> ProfitGrowthRateResponse
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 Debug for ProfitGrowthRateResponse
impl Debug for ProfitGrowthRateResponse
Source§impl Default for ProfitGrowthRateResponse
impl Default for ProfitGrowthRateResponse
Source§impl Message for ProfitGrowthRateResponse
impl Message for ProfitGrowthRateResponse
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 ProfitGrowthRateResponse
impl PartialEq for ProfitGrowthRateResponse
impl StructuralPartialEq for ProfitGrowthRateResponse
Auto Trait Implementations§
impl Freeze for ProfitGrowthRateResponse
impl RefUnwindSafe for ProfitGrowthRateResponse
impl Send for ProfitGrowthRateResponse
impl Sync for ProfitGrowthRateResponse
impl Unpin for ProfitGrowthRateResponse
impl UnsafeUnpin for ProfitGrowthRateResponse
impl UnwindSafe for ProfitGrowthRateResponse
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