pub struct Input {
pub txid: Txid,
pub vout: u64,
pub sequence: Option<Sequence>,
}
Expand description
Input used as parameter to create_raw_transaction
.
Fields§
§txid: Txid
The txid of the transaction that contains the UTXO.
vout: u64
The vout for the UTXO.
sequence: Option<Sequence>
Sequence number if needed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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