pub struct AmountCols {
pub proceeds_d: String,
pub cost_e: String,
pub adj_g: String,
pub gain_h: String,
}Expand description
The 4 monetary “amount” columns of a Form 8949 / Schedule D totals row: (d) proceeds, (e) cost, (g) adjustment, (h) gain. Column (f) — the code column — has no total (a spacer), so it is absent.
Fields§
§proceeds_d: StringColumn (d) — proceeds.
cost_e: StringColumn (e) — cost basis.
adj_g: StringColumn (g) — adjustment amount.
gain_h: StringColumn (h) — gain/loss.
Trait Implementations§
Source§impl Clone for AmountCols
impl Clone for AmountCols
Source§fn clone(&self) -> AmountCols
fn clone(&self) -> AmountCols
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AmountCols
impl Debug for AmountCols
Source§impl<'de> Deserialize<'de> for AmountCols
impl<'de> Deserialize<'de> for AmountCols
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 AmountCols
impl RefUnwindSafe for AmountCols
impl Send for AmountCols
impl Sync for AmountCols
impl Unpin for AmountCols
impl UnsafeUnpin for AmountCols
impl UnwindSafe for AmountCols
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