pub struct WalletAddress {
pub address: String,
pub keychain: WalletKeychain,
pub derivation_index: u32,
pub used: bool,
pub balance_sat: u64,
pub confirmed_balance_sat: u64,
}Expand description
An address revealed by the BDK wallet.
Fields§
§address: StringBitcoin address.
keychain: WalletKeychainDescriptor keychain.
derivation_index: u32Child derivation index.
used: boolWhether the address has appeared in a wallet transaction.
balance_sat: u64Total current unspent balance in satoshis.
confirmed_balance_sat: u64Confirmed current unspent balance in satoshis.
Trait Implementations§
Source§impl Clone for WalletAddress
impl Clone for WalletAddress
Source§fn clone(&self) -> WalletAddress
fn clone(&self) -> WalletAddress
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 WalletAddress
impl Debug for WalletAddress
impl Eq for WalletAddress
Source§impl PartialEq for WalletAddress
impl PartialEq for WalletAddress
impl StructuralPartialEq for WalletAddress
Auto Trait Implementations§
impl Freeze for WalletAddress
impl RefUnwindSafe for WalletAddress
impl Send for WalletAddress
impl Sync for WalletAddress
impl Unpin for WalletAddress
impl UnsafeUnpin for WalletAddress
impl UnwindSafe for WalletAddress
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