pub struct UnsignedTxIn {
pub prev_output: Outpoint,
pub sequence: SeqNo,
}
Fields§
§prev_output: Outpoint
§sequence: SeqNo
Implementations§
Source§impl UnsignedTxIn
impl UnsignedTxIn
pub fn with_sigs_removed(txin: TxIn) -> UnsignedTxIn
Trait Implementations§
Source§impl Clone for UnsignedTxIn
impl Clone for UnsignedTxIn
Source§fn clone(&self) -> UnsignedTxIn
fn clone(&self) -> UnsignedTxIn
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UnsignedTxIn
impl Debug for UnsignedTxIn
Source§impl Decode for UnsignedTxIn
impl Decode for UnsignedTxIn
fn decode(reader: &mut impl Read) -> Result<UnsignedTxIn, DecodeError>
fn deserialize(bytes: impl AsRef<[u8]>) -> Result<Self, PsbtError>
Source§impl<'de> Deserialize<'de> for UnsignedTxIn
impl<'de> Deserialize<'de> for UnsignedTxIn
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnsignedTxIn, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnsignedTxIn, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Encode for UnsignedTxIn
impl Encode for UnsignedTxIn
Source§impl From<TxIn> for UnsignedTxIn
impl From<TxIn> for UnsignedTxIn
Source§fn from(txin: TxIn) -> UnsignedTxIn
fn from(txin: TxIn) -> UnsignedTxIn
Converts to this type from the input type.
Source§impl Hash for UnsignedTxIn
impl Hash for UnsignedTxIn
Source§impl PartialEq for UnsignedTxIn
impl PartialEq for UnsignedTxIn
Source§impl Serialize for UnsignedTxIn
impl Serialize for UnsignedTxIn
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 UnsignedTxIn
impl StrictDecode for UnsignedTxIn
fn strict_decode( reader: &mut impl TypedRead, ) -> Result<UnsignedTxIn, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for UnsignedTxIn
impl StrictDumb for UnsignedTxIn
fn strict_dumb() -> UnsignedTxIn
Source§impl StrictEncode for UnsignedTxIn
impl StrictEncode for UnsignedTxIn
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 UnsignedTxIn
impl StrictStruct for UnsignedTxIn
const ALL_FIELDS: &'static [&'static str] = _
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for UnsignedTxIn
impl StrictType for UnsignedTxIn
const STRICT_LIB_NAME: &'static str = crate::LIB_NAME_PSBT
fn strict_name() -> Option<TypeName>
impl Eq for UnsignedTxIn
impl StrictProduct for UnsignedTxIn
impl StructuralPartialEq for UnsignedTxIn
Auto Trait Implementations§
impl Freeze for UnsignedTxIn
impl RefUnwindSafe for UnsignedTxIn
impl Send for UnsignedTxIn
impl Sync for UnsignedTxIn
impl Unpin for UnsignedTxIn
impl UnwindSafe for UnsignedTxIn
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.