Struct rgb_lib::wallet::BtcBalance
source · pub struct BtcBalance {
pub vanilla: Balance,
pub colored: Balance,
}
Expand description
The bitcoin balances (in sats) for the vanilla and colored wallets.
The settled balances include the confirmed balance. The future balances also include the immature balance and the untrusted and trusted pending balances. The spendable balances include the settled balance and also the untrusted and trusted pending balances.
Fields§
§vanilla: Balance
Funds that will never hold RGB assets
colored: Balance
Funds that may hold RGB assets
Trait Implementations§
source§impl Debug for BtcBalance
impl Debug for BtcBalance
source§impl PartialEq for BtcBalance
impl PartialEq for BtcBalance
source§fn eq(&self, other: &BtcBalance) -> bool
fn eq(&self, other: &BtcBalance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BtcBalance
Auto Trait Implementations§
impl RefUnwindSafe for BtcBalance
impl Send for BtcBalance
impl Sync for BtcBalance
impl Unpin for BtcBalance
impl UnwindSafe for BtcBalance
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