pub struct LocalOutput {
pub outpoint: OutPoint,
pub txout: TxOut,
pub keychain: KeychainKind,
pub is_spent: bool,
pub derivation_index: u32,
pub chain_position: ChainPosition<ConfirmationBlockTime>,
}
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
chain_position: ChainPosition<ConfirmationBlockTime>
The position of the output in the blockchain.
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
Source§impl Hash for LocalOutput
impl Hash for LocalOutput
Source§impl PartialEq for LocalOutput
impl PartialEq for LocalOutput
Source§impl Serialize for LocalOutput
impl Serialize for LocalOutput
impl Eq for LocalOutput
impl StructuralPartialEq for LocalOutput
Auto Trait Implementations§
impl Freeze for LocalOutput
impl RefUnwindSafe for LocalOutput
impl Send for LocalOutput
impl Sync for LocalOutput
impl Unpin for LocalOutput
impl UnwindSafe for LocalOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more