Skip to content

Commit

Permalink
Add a clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
KonishchevDmitry committed Dec 31, 2023
1 parent fb1be91 commit 29f9a36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/broker_statement/corporate_actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ use super::trades::{StockBuy, StockSell, StockSellSource, PurchaseTotalCost};

#[derive(Deserialize, Clone, Debug)]
#[cfg_attr(test, derive(PartialEq))]
// Don't use #[serde(deny_unknown_fields)] because of #[serde(flatten)]
pub struct CorporateAction {
// Date + time when the corporate action has occurred. If time is not present, assuming:
// * The changes are made at the end of the trading day.
Expand Down

0 comments on commit 29f9a36

Please sign in to comment.