pub struct BulkReclassifyOutflowRow {
pub out_event: EventId,
pub date: TaxDate,
pub wallet: Option<WalletId>,
pub principal_sat: Sat,
pub fmv: Usd,
pub basis_usd: Usd,
pub estimated_gain: Usd,
}Expand description
One enriched pending outbound transfer in a bulk reclassify-outflow plan, carrying a RESOLVED FMV.
Fields§
§out_event: EventId§date: TaxDate§wallet: Option<WalletId>[R0-N1] ALWAYS Some for a pending out (a wallet-less TransferOut never reaches
pending_reconciliation); Option kept defensively (mirror BulkLinkRow.source_wallet).
principal_sat: Sat§fmv: Usd[#a] The RESOLVED auto-FMV fmv_of(prices, date, principal_sat) — ALWAYS a real number (the
None rows are EXCLUDED upstream). This is the ESTIMATED proceeds a Dispose recognizes.
basis_usd: UsdΣ leg usd_basis carried by the fold’s PendingOut consumption (the disposal’s basis).
estimated_gain: Usdround_cents(fmv − basis_usd) — the per-row ESTIMATED gain (never double-counted; see above).
Trait Implementations§
Source§impl Clone for BulkReclassifyOutflowRow
impl Clone for BulkReclassifyOutflowRow
Source§fn clone(&self) -> BulkReclassifyOutflowRow
fn clone(&self) -> BulkReclassifyOutflowRow
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 BulkReclassifyOutflowRow
impl Debug for BulkReclassifyOutflowRow
impl Eq for BulkReclassifyOutflowRow
Source§impl PartialEq for BulkReclassifyOutflowRow
impl PartialEq for BulkReclassifyOutflowRow
impl StructuralPartialEq for BulkReclassifyOutflowRow
Auto Trait Implementations§
impl Freeze for BulkReclassifyOutflowRow
impl RefUnwindSafe for BulkReclassifyOutflowRow
impl Send for BulkReclassifyOutflowRow
impl Sync for BulkReclassifyOutflowRow
impl Unpin for BulkReclassifyOutflowRow
impl UnsafeUnpin for BulkReclassifyOutflowRow
impl UnwindSafe for BulkReclassifyOutflowRow
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.