pub struct ScheduleBMap {
pub form: String,
pub year: i32,
pub line7b_countries: String,
pub identity: IdentityCells,
pub part1_rows: Vec<ScheduleBRowMap>,
pub line2: MoneyCell,
pub line4: MoneyCell,
pub part2_rows: Vec<ScheduleBRowMap>,
pub line6: MoneyCell,
pub line7a: YesNoPair,
pub line8: YesNoPair,
}Expand description
The Schedule B (Interest and Ordinary Dividends) field map for one tax year.
Its amount column is x ≈ [489.6, 576] — not the [504, 576] of Schedules 1/2/3/A and Forms 8959/8960/8995, nor Schedule C’s [475, 576]. A shared constant would reject every cell.
Row 1 of BOTH repeating tables has a different parent subform (Line1_ReadOrder in Part I,
ReadOrderControl in Part II) while its amount sibling does not — so the rows are written out in
full in the TOML rather than interpolated. Part I has 14 rows, Part II has 15; the asymmetry
is real.
Fields§
§form: String"f1040sb".
year: i32Tax year.
line7b_countries: StringL7b — the foreign-country list. It IS a captured input; the claim that v1 had none was false (ARCH-P6.3a Q7 item 7).
identity: IdentityCellsThe name + SSN header cells (P6.2). REQUIRED: a full-return schedule that does not name its
taxpayer is not a filable form, so a map lacking [identity] fails at deserialization.
part1_rows: Vec<ScheduleBRowMap>Part I line 1 — the 14 interest-payer rows.
line2: MoneyCellL2 — add the amounts on line 1.
line4: MoneyCellL4 — line 2 − line 3 → 1040 L2b.
part2_rows: Vec<ScheduleBRowMap>Part II line 5 — the 15 dividend-payer rows.
line6: MoneyCellL6 — add the amounts on line 5 → 1040 L3b.
line7a: YesNoPairL7a — the foreign-account Yes/No pair.
line8: YesNoPairL8 — the foreign-trust Yes/No pair.
Implementations§
Trait Implementations§
Source§impl Clone for ScheduleBMap
impl Clone for ScheduleBMap
Source§fn clone(&self) -> ScheduleBMap
fn clone(&self) -> ScheduleBMap
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more