pub struct ScheduleDMap {
pub form: String,
pub year: i32,
pub line3: AmountCols,
pub line7_h: String,
pub line10: AmountCols,
pub line15_h: String,
pub line16_h: String,
pub table_token: String,
pub qof_yes: Option<CheckChoice>,
pub qof_no: Option<CheckChoice>,
}Expand description
The Schedule D field map for one tax year.
Fields§
§form: String"schedule_d".
year: i32Tax year.
line3: AmountColsLine 3 — Part I total from Form 8949 (Box C or Box I): columns d,e,g,h.
line7_h: StringLine 7 — net short-term gain/loss (column h).
line10: AmountColsLine 10 — Part II total from Form 8949 (Box F or Box L): columns d,e,g,h.
line15_h: StringLine 15 — net long-term gain/loss (column h).
line16_h: StringLine 16 — total (line 7 + line 15), column h, page 2.
table_token: StringThe Part I amount-column subform token used to re-derive the geometry bands — per-year map
config (Table_PartI for 2024/2025, TablePartI (no underscore) for the 2017 form).
qof_yes: Option<CheckChoice>QOF question “Yes” choice. None on years whose Schedule D has no QOF question (2017 —
Qualified Opportunity Funds began in 2019).
qof_no: Option<CheckChoice>QOF question “No” choice (answered No when present). None on 2017 (no QOF question).
Implementations§
Source§impl ScheduleDMap
impl ScheduleDMap
Sourcepub fn for_year(year: i32) -> Result<Self, FormsError>
pub fn for_year(year: i32) -> Result<Self, FormsError>
The map for a supported tax year.
Trait Implementations§
Source§impl Clone for ScheduleDMap
impl Clone for ScheduleDMap
Source§fn clone(&self) -> ScheduleDMap
fn clone(&self) -> ScheduleDMap
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more