pub struct InputRef {
pub txid: [u8; 32],
pub vout: u32,
pub amount: u64,
pub script_pubkey: Vec<u8>,
}Expand description
A transaction input reference.
Fields§
§txid: [u8; 32]Transaction ID (32 bytes)
vout: u32Output index
amount: u64Amount in satoshis
script_pubkey: Vec<u8>Script pubkey (for verification)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InputRef
impl<'de> Deserialize<'de> for InputRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InputRef
impl StructuralPartialEq for InputRef
Auto Trait Implementations§
impl Freeze for InputRef
impl RefUnwindSafe for InputRef
impl Send for InputRef
impl Sync for InputRef
impl Unpin for InputRef
impl UnwindSafe for InputRef
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