Enum bitcoin_scripting::TxoutType
source · pub enum TxoutType {
NONSTANDARD,
PUBKEY,
PUBKEYHASH,
SCRIPTHASH,
MULTISIG,
NULL_DATA,
WITNESS_V0_SCRIPTHASH,
WITNESS_V0_KEYHASH,
WITNESS_V1_TAPROOT,
WITNESS_UNKNOWN,
}
Variants§
NONSTANDARD
PUBKEY
| ‘standard’ transaction types: |
PUBKEYHASH
SCRIPTHASH
MULTISIG
NULL_DATA
| unspendable OP_RETURN script that | carries data |
WITNESS_V0_SCRIPTHASH
WITNESS_V0_KEYHASH
WITNESS_V1_TAPROOT
WITNESS_UNKNOWN
| Only for Witness versions not already | defined above |
Trait Implementations§
source§impl Ord for TxoutType
impl Ord for TxoutType
source§impl PartialEq<TxoutType> for TxoutType
impl PartialEq<TxoutType> for TxoutType
source§impl PartialOrd<TxoutType> for TxoutType
impl PartialOrd<TxoutType> for TxoutType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for TxoutType
impl StructuralEq for TxoutType
impl StructuralPartialEq for TxoutType
Auto Trait Implementations§
impl RefUnwindSafe for TxoutType
impl Send for TxoutType
impl Sync for TxoutType
impl Unpin for TxoutType
impl UnwindSafe for TxoutType
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
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.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more