pub enum OnchainAddressType {
Unknown = 0,
WitnessPubkeyHash = 1,
NestedWitnessPubkeyHash = 2,
HybridNestedWitnessPubkeyHash = 3,
TaprootPubkey = 4,
}Variants§
Unknown = 0
WitnessPubkeyHash = 1
NestedWitnessPubkeyHash = 2
HybridNestedWitnessPubkeyHash = 3
TaprootPubkey = 4
Trait Implementations§
Source§impl AsRef<str> for OnchainAddressType
impl AsRef<str> for OnchainAddressType
Source§impl AsRef<u32> for OnchainAddressType
impl AsRef<u32> for OnchainAddressType
Source§impl AsRef<u8> for OnchainAddressType
impl AsRef<u8> for OnchainAddressType
Source§impl Clone for OnchainAddressType
impl Clone for OnchainAddressType
Source§fn clone(&self) -> OnchainAddressType
fn clone(&self) -> OnchainAddressType
Returns a duplicate 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 OnchainAddressType
impl Debug for OnchainAddressType
Source§impl<'de> Deserialize<'de> for OnchainAddressType
impl<'de> Deserialize<'de> for OnchainAddressType
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 Hash for OnchainAddressType
impl Hash for OnchainAddressType
Source§impl PartialEq for OnchainAddressType
impl PartialEq for OnchainAddressType
Source§impl Serialize for OnchainAddressType
impl Serialize for OnchainAddressType
impl Eq for OnchainAddressType
impl StructuralPartialEq for OnchainAddressType
Auto Trait Implementations§
impl Freeze for OnchainAddressType
impl RefUnwindSafe for OnchainAddressType
impl Send for OnchainAddressType
impl Sync for OnchainAddressType
impl Unpin for OnchainAddressType
impl UnwindSafe for OnchainAddressType
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