pub struct BulkReclassifyOutflowPlan {
pub included: Vec<BulkReclassifyOutflowRow>,
pub excluded_missing_price: usize,
pub total_sat: Sat,
pub total_proceeds_usd: Usd,
pub total_basis_usd: Usd,
pub total_estimated_gain: Usd,
}Expand description
The read-only plan a bulk reclassify-outflow would execute: the eligible/in-frame included rows
(each with a resolved fmv), the count of candidates dropped for a MISSING price, and preview
totals. Mirrors BulkIncomePlan.
Fields§
§included: Vec<BulkReclassifyOutflowRow>Eligible + in-frame + passes from_wallet filter + HAS a price. Sorted by date.
excluded_missing_price: usize[#a] Candidates dropped because fmv_of == None (surfaced, NOT silently dropped — a Sell with
fabricated proceeds would be a SILENT misreport; they stay pending).
total_sat: Sat§total_proceeds_usd: UsdΣ fmv over included — the total ESTIMATED proceeds (always a real number).
total_basis_usd: UsdΣ basis_usd over included.
total_estimated_gain: UsdΣ estimated_gain over included — the total ESTIMATED gain shown in the preview.
Trait Implementations§
Source§impl Clone for BulkReclassifyOutflowPlan
impl Clone for BulkReclassifyOutflowPlan
Source§fn clone(&self) -> BulkReclassifyOutflowPlan
fn clone(&self) -> BulkReclassifyOutflowPlan
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 BulkReclassifyOutflowPlan
impl Debug for BulkReclassifyOutflowPlan
impl Eq for BulkReclassifyOutflowPlan
Source§impl PartialEq for BulkReclassifyOutflowPlan
impl PartialEq for BulkReclassifyOutflowPlan
Source§fn eq(&self, other: &BulkReclassifyOutflowPlan) -> bool
fn eq(&self, other: &BulkReclassifyOutflowPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BulkReclassifyOutflowPlan
Auto Trait Implementations§
impl Freeze for BulkReclassifyOutflowPlan
impl RefUnwindSafe for BulkReclassifyOutflowPlan
impl Send for BulkReclassifyOutflowPlan
impl Sync for BulkReclassifyOutflowPlan
impl Unpin for BulkReclassifyOutflowPlan
impl UnsafeUnpin for BulkReclassifyOutflowPlan
impl UnwindSafe for BulkReclassifyOutflowPlan
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.