pub struct DividendItem {
pub info_pub_date: Option<String>,
pub dividend: Option<String>,
pub ex_date: Option<String>,
pub payable_date: Option<String>,
pub fiscal_year: Option<String>,
pub type: Option<String>,
pub dividend_total: Option<i64>,
pub dividend_currency: Option<String>,
pub ex_date_timestamp: Option<i64>,
pub payable_date_timestamp: Option<i64>,
pub info_pub_date_timestamp: Option<i64>,
}Fields§
§info_pub_date: Option<String>§dividend: Option<String>§ex_date: Option<String>§payable_date: Option<String>§fiscal_year: Option<String>§type: Option<String>§dividend_total: Option<i64>§dividend_currency: Option<String>§ex_date_timestamp: Option<i64>§payable_date_timestamp: Option<i64>§info_pub_date_timestamp: Option<i64>Implementations§
Source§impl DividendItem
impl DividendItem
Sourcepub fn info_pub_date(&self) -> &str
pub fn info_pub_date(&self) -> &str
Returns the value of info_pub_date, or the default value if info_pub_date is unset.
Sourcepub fn dividend(&self) -> &str
pub fn dividend(&self) -> &str
Returns the value of dividend, or the default value if dividend is unset.
Sourcepub fn ex_date(&self) -> &str
pub fn ex_date(&self) -> &str
Returns the value of ex_date, or the default value if ex_date is unset.
Sourcepub fn payable_date(&self) -> &str
pub fn payable_date(&self) -> &str
Returns the value of payable_date, or the default value if payable_date is unset.
Sourcepub fn fiscal_year(&self) -> &str
pub fn fiscal_year(&self) -> &str
Returns the value of fiscal_year, or the default value if fiscal_year is unset.
Sourcepub fn dividend_total(&self) -> i64
pub fn dividend_total(&self) -> i64
Returns the value of dividend_total, or the default value if dividend_total is unset.
Sourcepub fn dividend_currency(&self) -> &str
pub fn dividend_currency(&self) -> &str
Returns the value of dividend_currency, or the default value if dividend_currency is unset.
Sourcepub fn ex_date_timestamp(&self) -> i64
pub fn ex_date_timestamp(&self) -> i64
Returns the value of ex_date_timestamp, or the default value if ex_date_timestamp is unset.
Sourcepub fn payable_date_timestamp(&self) -> i64
pub fn payable_date_timestamp(&self) -> i64
Returns the value of payable_date_timestamp, or the default value if payable_date_timestamp is unset.
Sourcepub fn info_pub_date_timestamp(&self) -> i64
pub fn info_pub_date_timestamp(&self) -> i64
Returns the value of info_pub_date_timestamp, or the default value if info_pub_date_timestamp is unset.
Trait Implementations§
Source§impl Clone for DividendItem
impl Clone for DividendItem
Source§fn clone(&self) -> DividendItem
fn clone(&self) -> DividendItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DividendItem
impl Debug for DividendItem
Source§impl Default for DividendItem
impl Default for DividendItem
Source§impl Hash for DividendItem
impl Hash for DividendItem
Source§impl Message for DividendItem
impl Message for DividendItem
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.Source§impl PartialEq for DividendItem
impl PartialEq for DividendItem
impl Eq for DividendItem
impl StructuralPartialEq for DividendItem
Auto Trait Implementations§
impl Freeze for DividendItem
impl RefUnwindSafe for DividendItem
impl Send for DividendItem
impl Sync for DividendItem
impl Unpin for DividendItem
impl UnsafeUnpin for DividendItem
impl UnwindSafe for DividendItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.