Struct ck_doge_types::chainparams::ChainParams
source · pub struct ChainParams {
pub chain_name: &'static str,
pub genesis_block: &'static str,
pub p2pkh_address_prefix: u8,
pub p2sh_address_prefix: u8,
pub pkey_prefix: u8,
pub bip32_privkey_prefix: u32,
pub bip32_pubkey_prefix: u32,
pub bip32_wif_privkey_prefix: &'static str,
pub bip32_wif_pubkey_prefix: &'static str,
}Fields§
§chain_name: &'static str§genesis_block: &'static str§p2pkh_address_prefix: u8§p2sh_address_prefix: u8§pkey_prefix: u8§bip32_privkey_prefix: u32§bip32_pubkey_prefix: u32§bip32_wif_privkey_prefix: &'static str§bip32_wif_pubkey_prefix: &'static strTrait Implementations§
source§impl Clone for ChainParams
impl Clone for ChainParams
source§fn clone(&self) -> ChainParams
fn clone(&self) -> ChainParams
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 ChainParams
impl Debug for ChainParams
source§impl Deserialize<'static> for ChainParams
impl Deserialize<'static> for ChainParams
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ChainParams
impl PartialEq for ChainParams
source§fn eq(&self, other: &ChainParams) -> bool
fn eq(&self, other: &ChainParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ChainParams
impl Serialize for ChainParams
impl Eq for ChainParams
impl StructuralPartialEq for ChainParams
Auto Trait Implementations§
impl Freeze for ChainParams
impl RefUnwindSafe for ChainParams
impl Send for ChainParams
impl Sync for ChainParams
impl Unpin for ChainParams
impl UnwindSafe for ChainParams
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