pub struct DevnetConfig {
Show 82 fields pub name: String, pub network_id: Option<u16>, pub orchestrator_ingestion_port: u16, pub orchestrator_control_port: u16, pub bitcoin_node_p2p_port: u16, pub bitcoin_node_rpc_port: u16, pub bitcoin_node_username: String, pub bitcoin_node_password: String, pub stacks_node_p2p_port: u16, pub stacks_node_rpc_port: u16, pub stacks_node_wait_time_for_microblocks: u32, pub stacks_node_first_attempt_time_ms: u32, pub stacks_node_subsequent_attempt_time_ms: u32, pub stacks_node_events_observers: Vec<String>, pub stacks_node_env_vars: Vec<String>, pub stacks_api_port: u16, pub stacks_api_events_port: u16, pub stacks_api_env_vars: Vec<String>, pub stacks_explorer_port: u16, pub stacks_explorer_env_vars: Vec<String>, pub bitcoin_explorer_port: u16, pub bitcoin_controller_block_time: u32, pub bitcoin_controller_automining_disabled: bool, pub miner_stx_address: String, pub miner_secret_key_hex: String, pub miner_btc_address: String, pub miner_mnemonic: String, pub miner_derivation_path: String, pub miner_coinbase_recipient: String, pub faucet_stx_address: String, pub faucet_secret_key_hex: String, pub faucet_btc_address: String, pub faucet_mnemonic: String, pub faucet_derivation_path: String, pub working_dir: String, pub postgres_port: u16, pub postgres_username: String, pub postgres_password: String, pub stacks_api_postgres_database: String, pub subnet_api_postgres_database: String, pub pox_stacking_orders: Vec<PoxStackingOrder>, pub execute_script: Vec<ExecuteScript>, pub bitcoin_node_image_url: String, pub stacks_node_image_url: String, pub stacks_api_image_url: String, pub stacks_explorer_image_url: String, pub postgres_image_url: String, pub bitcoin_explorer_image_url: String, pub disable_bitcoin_explorer: bool, pub disable_stacks_explorer: bool, pub disable_stacks_api: bool, pub bind_containers_volumes: bool, pub enable_subnet_node: bool, pub subnet_node_image_url: String, pub subnet_leader_stx_address: String, pub subnet_leader_secret_key_hex: String, pub subnet_leader_btc_address: String, pub subnet_leader_mnemonic: String, pub subnet_leader_derivation_path: String, pub subnet_node_p2p_port: u16, pub subnet_node_rpc_port: u16, pub subnet_events_ingestion_port: u16, pub subnet_node_events_observers: Vec<String>, pub subnet_contract_id: String, pub remapped_subnet_contract_id: String, pub subnet_node_env_vars: Vec<String>, pub subnet_api_image_url: String, pub subnet_api_port: u16, pub subnet_api_events_port: u16, pub subnet_api_env_vars: Vec<String>, pub disable_subnet_api: bool, pub docker_host: String, pub components_host: String, pub epoch_2_0: u64, pub epoch_2_05: u64, pub epoch_2_1: u64, pub epoch_2_2: u64, pub epoch_2_3: u64, pub epoch_2_4: u64, pub pox_2_activation: u64, pub use_docker_gateway_routing: bool, pub docker_platform: String,
}

Fields§

§name: String§network_id: Option<u16>§orchestrator_ingestion_port: u16§orchestrator_control_port: u16§bitcoin_node_p2p_port: u16§bitcoin_node_rpc_port: u16§bitcoin_node_username: String§bitcoin_node_password: String§stacks_node_p2p_port: u16§stacks_node_rpc_port: u16§stacks_node_wait_time_for_microblocks: u32§stacks_node_first_attempt_time_ms: u32§stacks_node_subsequent_attempt_time_ms: u32§stacks_node_events_observers: Vec<String>§stacks_node_env_vars: Vec<String>§stacks_api_port: u16§stacks_api_events_port: u16§stacks_api_env_vars: Vec<String>§stacks_explorer_port: u16§stacks_explorer_env_vars: Vec<String>§bitcoin_explorer_port: u16§bitcoin_controller_block_time: u32§bitcoin_controller_automining_disabled: bool§miner_stx_address: String§miner_secret_key_hex: String§miner_btc_address: String§miner_mnemonic: String§miner_derivation_path: String§miner_coinbase_recipient: String§faucet_stx_address: String§faucet_secret_key_hex: String§faucet_btc_address: String§faucet_mnemonic: String§faucet_derivation_path: String§working_dir: String§postgres_port: u16§postgres_username: String§postgres_password: String§stacks_api_postgres_database: String§subnet_api_postgres_database: String§pox_stacking_orders: Vec<PoxStackingOrder>§execute_script: Vec<ExecuteScript>§bitcoin_node_image_url: String§stacks_node_image_url: String§stacks_api_image_url: String§stacks_explorer_image_url: String§postgres_image_url: String§bitcoin_explorer_image_url: String§disable_bitcoin_explorer: bool§disable_stacks_explorer: bool§disable_stacks_api: bool§bind_containers_volumes: bool§enable_subnet_node: bool§subnet_node_image_url: String§subnet_leader_stx_address: String§subnet_leader_secret_key_hex: String§subnet_leader_btc_address: String§subnet_leader_mnemonic: String§subnet_leader_derivation_path: String§subnet_node_p2p_port: u16§subnet_node_rpc_port: u16§subnet_events_ingestion_port: u16§subnet_node_events_observers: Vec<String>§subnet_contract_id: String§remapped_subnet_contract_id: String§subnet_node_env_vars: Vec<String>§subnet_api_image_url: String§subnet_api_port: u16§subnet_api_events_port: u16§subnet_api_env_vars: Vec<String>§disable_subnet_api: bool§docker_host: String§components_host: String§epoch_2_0: u64§epoch_2_05: u64§epoch_2_1: u64§epoch_2_2: u64§epoch_2_3: u64§epoch_2_4: u64§pox_2_activation: u64§use_docker_gateway_routing: bool§docker_platform: String

Trait Implementations§

source§

impl Clone for DevnetConfig

source§

fn clone(&self) -> DevnetConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DevnetConfig

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for DevnetConfig

source§

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 Serialize for DevnetConfig

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,