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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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