pub struct BulkLinkPlan {
pub dest: WalletId,
pub included: Vec<BulkLinkRow>,
pub skipped_same_wallet: Vec<BulkLinkRow>,
pub total_sat: Sat,
pub total_usd_value_floor: Usd,
pub missing_price_count: usize,
pub total_basis_usd: Usd,
}Expand description
The read-only plan a bulk link-transfer would execute: the eligible/in-frame included rows, the
skipped_same_wallet rows (source == dest — a meaningless self-link), and the preview totals.
Fields§
§dest: WalletId§included: Vec<BulkLinkRow>Eligible + in-frame + passes from_wallet + source != dest. Sorted by date.
skipped_same_wallet: Vec<BulkLinkRow>Source wallet == dest → cannot self-link to itself.
total_sat: Sat§total_usd_value_floor: Usd[R0-I2] Σ of the priced usd_values — a FLOOR, always a real number.
missing_price_count: usize[R0-I2] rows priced None → render “≥ $X (N unavailable)” vs exact “$X”.
total_basis_usd: UsdΣ basis_usd over included.
Trait Implementations§
Source§impl Clone for BulkLinkPlan
impl Clone for BulkLinkPlan
Source§fn clone(&self) -> BulkLinkPlan
fn clone(&self) -> BulkLinkPlan
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 BulkLinkPlan
impl Debug for BulkLinkPlan
impl Eq for BulkLinkPlan
Source§impl PartialEq for BulkLinkPlan
impl PartialEq for BulkLinkPlan
impl StructuralPartialEq for BulkLinkPlan
Auto Trait Implementations§
impl Freeze for BulkLinkPlan
impl RefUnwindSafe for BulkLinkPlan
impl Send for BulkLinkPlan
impl Sync for BulkLinkPlan
impl Unpin for BulkLinkPlan
impl UnsafeUnpin for BulkLinkPlan
impl UnwindSafe for BulkLinkPlan
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.