pub struct PartMap {
pub term: String,
pub page: usize,
pub box_field: String,
pub box_on: String,
pub totals: AmountCols,
pub rows: Vec<Vec<String>>,
}Expand description
One Form 8949 part (Part I short-term on page 0, Part II long-term on page 1).
Fields§
§term: String"short" (Part I) or "long" (Part II).
page: usize0-based page index of this part within the bundled 2-page PDF.
box_field: StringThe digital-asset box checkbox field — Box I (ST) / Box L (LT), NOT C/F.
box_on: StringThe checkbox on-state (a PDF name without the leading /), e.g. "6".
totals: AmountColsThe line-2 per-part totals row (d,e,g,h).
rows: Vec<Vec<String>>The 11 data rows; each row is the 8 column field names in order a,b,c,d,e,f,g,h.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PartMap
impl<'de> Deserialize<'de> for PartMap
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
Auto Trait Implementations§
impl Freeze for PartMap
impl RefUnwindSafe for PartMap
impl Send for PartMap
impl Sync for PartMap
impl Unpin for PartMap
impl UnsafeUnpin for PartMap
impl UnwindSafe for PartMap
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