pub struct BulkStiRow {
pub in_event: EventId,
pub date: TaxDate,
pub wallet: Option<WalletId>,
pub sat: Sat,
pub usd_fmv: Option<Usd>,
}Expand description
One enriched pending unknown-basis inbound deposit in a bulk STI plan.
Fields§
§in_event: EventId§date: TaxDate§wallet: Option<WalletId>[R0-M2] ALWAYS Some (wallet-less inbounds are excluded — they create no lot); Option kept
defensively / for display symmetry with BulkLinkRow.
sat: Sat§usd_fmv: Option<Usd>fmv_of(prices, date, sat) — the market value being given $0 basis; None on missing price.
Trait Implementations§
Source§impl Clone for BulkStiRow
impl Clone for BulkStiRow
Source§fn clone(&self) -> BulkStiRow
fn clone(&self) -> BulkStiRow
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 BulkStiRow
impl Debug for BulkStiRow
impl Eq for BulkStiRow
Source§impl PartialEq for BulkStiRow
impl PartialEq for BulkStiRow
Source§fn eq(&self, other: &BulkStiRow) -> bool
fn eq(&self, other: &BulkStiRow) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BulkStiRow
Auto Trait Implementations§
impl Freeze for BulkStiRow
impl RefUnwindSafe for BulkStiRow
impl Send for BulkStiRow
impl Sync for BulkStiRow
impl Unpin for BulkStiRow
impl UnsafeUnpin for BulkStiRow
impl UnwindSafe for BulkStiRow
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.