pub struct Utxo {
pub txid: [u8; 32],
pub vout: u32,
pub value: u64,
pub input_vsize: usize,
}Expand description
A UTXO available for spending.
Fields§
§txid: [u8; 32]Transaction ID containing this UTXO.
vout: u32Output index within the transaction.
value: u64Value in satoshis.
input_vsize: usizeEstimated virtual size of the input when spent (in vbytes).
Trait Implementations§
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