Struct bitcoinconsensus::Utxo
source · #[repr(C)]pub struct Utxo {
pub script_pubkey: *const u8,
pub script_pubkey_len: u32,
pub value: i64,
}Expand description
Mimics the Bitcoin Core UTXO typedef (bitcoinconsenus.h)
Fields§
§script_pubkey: *const u8Pointer to the scriptPubkey bytes.
script_pubkey_len: u32The length of the scriptPubkey.
value: i64The value in sats.
Auto Trait Implementations§
impl RefUnwindSafe for Utxo
impl !Send for Utxo
impl !Sync for Utxo
impl Unpin 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