pub struct BitcoinTestnet;Trait Implementations§
Source§impl BitcoinNetwork for BitcoinTestnet
impl BitcoinNetwork for BitcoinTestnet
Source§fn to_address_prefix(format: BitcoinFormat) -> Result<Prefix, AddressError>
fn to_address_prefix(format: BitcoinFormat) -> Result<Prefix, AddressError>
Returns the address prefix of the given network.
Source§fn from_address_prefix(prefix: Prefix) -> Result<Self, AddressError>
fn from_address_prefix(prefix: Prefix) -> Result<Self, AddressError>
Returns the network of the given address prefix.
Source§impl Clone for BitcoinTestnet
impl Clone for BitcoinTestnet
Source§fn clone(&self) -> BitcoinTestnet
fn clone(&self) -> BitcoinTestnet
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 BitcoinTestnet
impl Debug for BitcoinTestnet
Source§impl Display for BitcoinTestnet
impl Display for BitcoinTestnet
Source§impl FromStr for BitcoinTestnet
impl FromStr for BitcoinTestnet
Source§impl Hash for BitcoinTestnet
impl Hash for BitcoinTestnet
Source§impl Ord for BitcoinTestnet
impl Ord for BitcoinTestnet
Source§fn cmp(&self, other: &BitcoinTestnet) -> Ordering
fn cmp(&self, other: &BitcoinTestnet) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BitcoinTestnet
impl PartialEq for BitcoinTestnet
Source§impl PartialOrd for BitcoinTestnet
impl PartialOrd for BitcoinTestnet
Source§impl Serialize for BitcoinTestnet
impl Serialize for BitcoinTestnet
impl Copy for BitcoinTestnet
impl Eq for BitcoinTestnet
impl StructuralPartialEq for BitcoinTestnet
Auto Trait Implementations§
impl Freeze for BitcoinTestnet
impl RefUnwindSafe for BitcoinTestnet
impl Send for BitcoinTestnet
impl Sync for BitcoinTestnet
impl Unpin for BitcoinTestnet
impl UnwindSafe for BitcoinTestnet
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)