pub struct IndexValuationData {
pub stock_id: Option<u64>,
pub history_item: Vec<HistoryItem>,
pub valuation_percentile: Option<u64>,
pub average_value_minus_1_stddev: Option<i64>,
pub average_value_plus_1_stddev: Option<i64>,
pub current_value: Option<i64>,
pub recommend_valuation_type: Option<i32>,
pub last_update_time: Option<u64>,
pub average_value: Option<i64>,
}Fields§
§stock_id: Option<u64>§history_item: Vec<HistoryItem>§valuation_percentile: Option<u64>§average_value_minus_1_stddev: Option<i64>§average_value_plus_1_stddev: Option<i64>§current_value: Option<i64>§recommend_valuation_type: Option<i32>§last_update_time: Option<u64>§average_value: Option<i64>Implementations§
Source§impl IndexValuationData
impl IndexValuationData
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 valuation_percentile(&self) -> u64
pub fn valuation_percentile(&self) -> u64
Returns the value of valuation_percentile, or the default value if valuation_percentile is unset.
Sourcepub fn average_value_minus_1_stddev(&self) -> i64
pub fn average_value_minus_1_stddev(&self) -> i64
Returns the value of average_value_minus_1_stddev, or the default value if average_value_minus_1_stddev is unset.
Sourcepub fn average_value_plus_1_stddev(&self) -> i64
pub fn average_value_plus_1_stddev(&self) -> i64
Returns the value of average_value_plus_1_stddev, or the default value if average_value_plus_1_stddev is unset.
Sourcepub fn current_value(&self) -> i64
pub fn current_value(&self) -> i64
Returns the value of current_value, or the default value if current_value is unset.
Sourcepub fn recommend_valuation_type(&self) -> i32
pub fn recommend_valuation_type(&self) -> i32
Returns the value of recommend_valuation_type, or the default value if recommend_valuation_type is unset.
Sourcepub fn last_update_time(&self) -> u64
pub fn last_update_time(&self) -> u64
Returns the value of last_update_time, or the default value if last_update_time is unset.
Sourcepub fn average_value(&self) -> i64
pub fn average_value(&self) -> i64
Returns the value of average_value, or the default value if average_value is unset.
Trait Implementations§
Source§impl Clone for IndexValuationData
impl Clone for IndexValuationData
Source§fn clone(&self) -> IndexValuationData
fn clone(&self) -> IndexValuationData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IndexValuationData
impl Debug for IndexValuationData
Source§impl Default for IndexValuationData
impl Default for IndexValuationData
Source§impl Message for IndexValuationData
impl Message for IndexValuationData
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.