pub struct FinancialItems {
pub financial_field_id: Option<i64>,
pub financial_field_type: Option<FieldType>,
pub financial_data: Option<f64>,
pub indicator_data_yoy: Option<f64>,
pub indicator_data_qoq: Option<f64>,
}Fields§
§financial_field_id: Option<i64>§financial_field_type: Option<FieldType>§financial_data: Option<f64>§indicator_data_yoy: Option<f64>§indicator_data_qoq: Option<f64>Implementations§
Source§impl FinancialItems
impl FinancialItems
Sourcepub fn financial_field_id(&self) -> i64
pub fn financial_field_id(&self) -> i64
Returns the value of financial_field_id, or the default value if financial_field_id is unset.
Sourcepub fn financial_data(&self) -> f64
pub fn financial_data(&self) -> f64
Returns the value of financial_data, or the default value if financial_data is unset.
Sourcepub fn indicator_data_yoy(&self) -> f64
pub fn indicator_data_yoy(&self) -> f64
Returns the value of indicator_data_yoy, or the default value if indicator_data_yoy is unset.
Sourcepub fn indicator_data_qoq(&self) -> f64
pub fn indicator_data_qoq(&self) -> f64
Returns the value of indicator_data_qoq, or the default value if indicator_data_qoq is unset.
Trait Implementations§
Source§impl Clone for FinancialItems
impl Clone for FinancialItems
Source§fn clone(&self) -> FinancialItems
fn clone(&self) -> FinancialItems
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 FinancialItems
impl Debug for FinancialItems
Source§impl Default for FinancialItems
impl Default for FinancialItems
Source§impl Message for FinancialItems
impl Message for FinancialItems
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 FinancialItems
impl PartialEq for FinancialItems
impl Copy for FinancialItems
impl StructuralPartialEq for FinancialItems
Auto Trait Implementations§
impl Freeze for FinancialItems
impl RefUnwindSafe for FinancialItems
impl Send for FinancialItems
impl Sync for FinancialItems
impl Unpin for FinancialItems
impl UnsafeUnpin for FinancialItems
impl UnwindSafe for FinancialItems
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