pub struct TxManagerConfig {
pub default_confirmations: usize,
pub provider_http_endpoint: String,
pub chain_id: u64,
pub chain_is_legacy: bool,
pub database_path: String,
pub gas_oracle_api_key: String,
}Fields§
§default_confirmations: usize§provider_http_endpoint: String§chain_id: u64§chain_is_legacy: bool§database_path: String§gas_oracle_api_key: StringImplementations§
Source§impl TxManagerConfig
impl TxManagerConfig
pub fn initialize_from_args() -> Result<Self>
pub fn initialize(env_cli_config: TxEnvCLIConfig) -> Result<Self>
Trait Implementations§
Source§impl Clone for TxManagerConfig
impl Clone for TxManagerConfig
Source§fn clone(&self) -> TxManagerConfig
fn clone(&self) -> TxManagerConfig
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 TxManagerConfig
impl Debug for TxManagerConfig
Source§impl From<&TxManagerConfig> for Chain
impl From<&TxManagerConfig> for Chain
Source§fn from(config: &TxManagerConfig) -> Self
fn from(config: &TxManagerConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TxManagerConfig
impl RefUnwindSafe for TxManagerConfig
impl Send for TxManagerConfig
impl Sync for TxManagerConfig
impl Unpin for TxManagerConfig
impl UnwindSafe for TxManagerConfig
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