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: 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
Trait Implementations
sourceimpl<'de> Deserialize<'de> for LocalUtxo
impl<'de> Deserialize<'de> for LocalUtxo
sourcefn 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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more