pub struct Config {
pub genesis_block_hash: BlockHash,
pub p2pkh_version: u8,
pub p2sh_version: u8,
pub segwit_hrp: String,
pub rpc_endpoint: String,
pub rpc_user: String,
pub rpc_pass: String,
pub rest_endpoint: String,
pub zmq_endpoint: String,
pub http_ip: String,
pub http_port: u16,
pub ws_endpoint: String,
}Fields§
§genesis_block_hash: BlockHash§p2pkh_version: u8§p2sh_version: u8§segwit_hrp: String§rpc_endpoint: String§rpc_user: String§rpc_pass: String§rest_endpoint: String§zmq_endpoint: String§http_ip: String§http_port: u16§ws_endpoint: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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