pub struct TxIn {
pub prev_output: Outpoint,
pub sig_script: SigScript,
pub sequence: SeqNo,
}
Fields§
§prev_output: Outpoint
§sig_script: SigScript
§sequence: SeqNo
Trait Implementations§
source§impl<'de> Deserialize<'de> for TxIn
impl<'de> Deserialize<'de> for TxIn
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<TxIn, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<TxIn, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<TxIn> for TxIn
impl PartialEq<TxIn> for TxIn
source§impl Serialize for TxIn
impl Serialize for TxIn
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
source§impl StrictDecode for TxIn
impl StrictDecode for TxIn
fn strict_decode(reader: &mut impl TypedRead) -> Result<TxIn, 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,
source§impl StrictStruct for TxIn
impl StrictStruct for TxIn
const ALL_FIELDS: &'static [&'static str] = &["prevOutput", "sigScript", "sequence"]
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>
impl Eq for TxIn
impl StrictProduct for TxIn
impl StructuralEq for TxIn
impl StructuralPartialEq for TxIn
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.