Struct bdk::LocalOutput
source · pub struct LocalOutput {
pub outpoint: OutPoint,
pub txout: TxOut,
pub keychain: KeychainKind,
pub is_spent: bool,
pub derivation_index: u32,
pub confirmation_time: ConfirmationTime,
}
Expand description
An unspent output owned by a Wallet
.
Fields§
§outpoint: OutPoint
Reference to a transaction output
txout: TxOut
Transaction output
keychain: KeychainKind
Type of keychain
is_spent: bool
Whether this UTXO is spent or not
derivation_index: u32
The derivation index for the script pubkey in the wallet
confirmation_time: ConfirmationTime
The confirmation time for transaction containing this utxo
Trait Implementations§
source§impl Clone for LocalOutput
impl Clone for LocalOutput
source§fn clone(&self) -> LocalOutput
fn clone(&self) -> LocalOutput
Returns a copy of the value. Read more
1.0.0 · 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 LocalOutput
impl Debug for LocalOutput
source§impl<'de> Deserialize<'de> for LocalOutput
impl<'de> Deserialize<'de> for LocalOutput
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more