pub struct TxIn {
pub prev_output: Outpoint,
pub sig_script: SigScript,
pub sequence: SeqNo,
pub witness: Witness,
}
Fields§
§prev_output: Outpoint
§sig_script: SigScript
§sequence: SeqNo
§witness: Witness
Trait Implementations§
Source§impl ConsensusDecode for TxIn
impl ConsensusDecode for TxIn
fn consensus_decode( reader: &mut impl Read, ) -> Result<TxIn, ConsensusDecodeError>
fn consensus_deserialize( bytes: impl AsRef<[u8]>, ) -> Result<Self, ConsensusDecodeError>
Source§impl ConsensusEncode for TxIn
impl ConsensusEncode for TxIn
Source§impl StrictDecode for TxIn
impl StrictDecode for TxIn
fn strict_decode(reader: &mut impl TypedRead) -> Result<TxIn, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for TxIn
impl StrictDumb for TxIn
fn strict_dumb() -> TxIn
Source§impl StrictEncode for TxIn
impl StrictEncode for TxIn
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where
W: TypedWrite,
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictStruct for TxIn
impl StrictStruct for TxIn
const ALL_FIELDS: &'static [&'static str]
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for TxIn
impl StrictType for TxIn
const STRICT_LIB_NAME: &'static str = LIB_NAME_BITCOIN
fn strict_name() -> Option<TypeName>
Source§impl Weight for TxIn
impl Weight for TxIn
fn weight_units(&self) -> WeightUnits
fn vbytes(&self) -> VBytes
impl Eq for TxIn
impl StrictProduct for TxIn
impl StructuralPartialEq for TxIn
Auto Trait Implementations§
impl Freeze for TxIn
impl RefUnwindSafe for TxIn
impl Send for TxIn
impl Sync for TxIn
impl Unpin for TxIn
impl UnwindSafe for TxIn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.