pub struct Tx {
pub version: u32,
pub inputs: Vec<TxIn>,
pub outputs: Vec<TxOut>,
pub lock_time: u32,
}
Expand description
Bitcoin transaction
Fields§
§version: u32
Transaction version
inputs: Vec<TxIn>
Transaction inputs
outputs: Vec<TxOut>
Transaction outputs
lock_time: u32
The block number or timestamp at which this transaction is unlocked
Implementations§
Trait Implementations§
Source§impl Serializable<Tx> for Tx
impl Serializable<Tx> for Tx
impl Eq for Tx
impl StructuralPartialEq for Tx
Auto Trait Implementations§
impl Freeze for Tx
impl RefUnwindSafe for Tx
impl Send for Tx
impl Sync for Tx
impl Unpin for Tx
impl UnwindSafe for Tx
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