pub struct Input {
pub txid: Txid,
pub vout: u64,
pub sequence: Option<Sequence>,
}
Available on crate feature
28_1
and non-crate feature 29_0
only.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§
Source§impl Serialize for Input
impl Serialize for Input
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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