pub struct Dividend {
pub symbol: String,
pub date: NaiveDate,
pub record_date: Option<NaiveDate>,
pub payment_date: Option<NaiveDate>,
pub declaration_date: Option<NaiveDate>,
pub adj_dividend: Option<f64>,
pub dividend: f64,
pub dividend_yield: Option<f64>,
pub frequency: Option<String>,
}Expand description
A dividend from dividends or dividends-calendar.
Fields§
§symbol: String§date: NaiveDateEx-dividend date.
record_date: Option<NaiveDate>§payment_date: Option<NaiveDate>§declaration_date: Option<NaiveDate>§adj_dividend: Option<f64>§dividend: f64§dividend_yield: Option<f64>§frequency: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Dividend
impl<'de> Deserialize<'de> for Dividend
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Dividend
Auto Trait Implementations§
impl Freeze for Dividend
impl RefUnwindSafe for Dividend
impl Send for Dividend
impl Sync for Dividend
impl Unpin for Dividend
impl UnsafeUnpin for Dividend
impl UnwindSafe for Dividend
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