pub struct TxInput {
pub prev: OutPoint,
pub pubkey: Vec<u8>,
pub signature: Vec<u8>,
}Fields§
§prev: OutPoint§pubkey: Vec<u8>ML-DSA-44 public key whose hash must match the spent output’s address.
signature: Vec<u8>ML-DSA-44 signature over the transaction sighash. Empty while unsigned.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TxInput
impl<'de> Deserialize<'de> for TxInput
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 TxInput
impl StructuralPartialEq for TxInput
Auto Trait Implementations§
impl Forget for TxInput
impl Freeze for TxInput
impl Move for TxInput
impl RefUnwindSafe for TxInput
impl Send for TxInput
impl Sync for TxInput
impl Unpin for TxInput
impl UnsafeUnpin for TxInput
impl UnwindSafe for TxInput
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