pub struct LocalUtxo {
pub outpoint: OutPoint,
pub txout: TxOut,
pub keychain: KeychainKind,
pub is_spent: bool,
}Expand description
An unspent output owned by a Wallet.
Fields§
§outpoint: OutPointReference to a transaction output
txout: TxOutTransaction output
keychain: KeychainKindType of keychain
is_spent: boolWhether this UTXO is spent or not
Trait Implementations§
source§impl<'de> Deserialize<'de> for LocalUtxo
impl<'de> Deserialize<'de> for LocalUtxo
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 PartialEq<LocalUtxo> for LocalUtxo
impl PartialEq<LocalUtxo> for LocalUtxo
impl Eq for LocalUtxo
impl StructuralEq for LocalUtxo
impl StructuralPartialEq for LocalUtxo
Auto Trait Implementations§
impl RefUnwindSafe for LocalUtxo
impl Send for LocalUtxo
impl Sync for LocalUtxo
impl Unpin for LocalUtxo
impl UnwindSafe for LocalUtxo
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more