pub enum ScriptPubkeyType {
Nonstandard,
Pubkey,
PubkeyHash,
ScriptHash,
MultiSig,
NullData,
Witness_v0_KeyHash,
Witness_v0_ScriptHash,
Witness_v1_Taproot,
Witness_Unknown,
}
Variants§
Nonstandard
Pubkey
PubkeyHash
ScriptHash
MultiSig
NullData
Witness_v0_KeyHash
Witness_v0_ScriptHash
Witness_v1_Taproot
Witness_Unknown
Trait Implementations§
source§impl Clone for ScriptPubkeyType
impl Clone for ScriptPubkeyType
source§fn clone(&self) -> ScriptPubkeyType
fn clone(&self) -> ScriptPubkeyType
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 ScriptPubkeyType
impl Debug for ScriptPubkeyType
source§impl<'de> Deserialize<'de> for ScriptPubkeyType
impl<'de> Deserialize<'de> for ScriptPubkeyType
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
source§impl PartialEq for ScriptPubkeyType
impl PartialEq for ScriptPubkeyType
source§fn eq(&self, other: &ScriptPubkeyType) -> bool
fn eq(&self, other: &ScriptPubkeyType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ScriptPubkeyType
impl Serialize for ScriptPubkeyType
impl Copy for ScriptPubkeyType
impl Eq for ScriptPubkeyType
impl StructuralPartialEq for ScriptPubkeyType
Auto Trait Implementations§
impl Freeze for ScriptPubkeyType
impl RefUnwindSafe for ScriptPubkeyType
impl Send for ScriptPubkeyType
impl Sync for ScriptPubkeyType
impl Unpin for ScriptPubkeyType
impl UnwindSafe for ScriptPubkeyType
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