pub struct UTXO {
pub value: Integer,
pub script_pubkey: SharedByteString,
pub height: Natural,
pub is_coinbase: bool,
}Expand description
UTXO: ๐ฐ = โค ร ๐ ร โ
Fieldsยง
ยงvalue: Integerยงscript_pubkey: SharedByteStringยงheight: Naturalยงis_coinbase: boolWhether this UTXO is from a coinbase transaction Coinbase outputs require maturity (COINBASE_MATURITY blocks) before they can be spent
Trait Implementationsยง
Sourceยงimpl<'de> Deserialize<'de> for UTXO
impl<'de> Deserialize<'de> for UTXO
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
impl Eq for UTXO
impl StructuralPartialEq for UTXO
Auto Trait Implementationsยง
impl Freeze for UTXO
impl RefUnwindSafe for UTXO
impl Send for UTXO
impl Sync for UTXO
impl Unpin for UTXO
impl UnsafeUnpin for UTXO
impl UnwindSafe for UTXO
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