Enum bitcoin::util::address::AddressType [−][src]
pub enum AddressType {
P2pkh,
P2sh,
P2wpkh,
P2wsh,
}
Expand description
The different types of addresses.
Variants
P2pkh
pay-to-pubkey-hash
P2sh
pay-to-script-hash
P2wpkh
pay-to-witness-pubkey-hash
P2wsh
pay-to-witness-script-hash
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for AddressType
impl Send for AddressType
impl Sync for AddressType
impl Unpin for AddressType
impl UnwindSafe for AddressType
Blanket Implementations
Mutably borrows from an owned value. Read more