Struct solana_cli::cli::CliConfig [−][src]
pub struct CliConfig<'a> {}Show fields
pub command: CliCommand, pub json_rpc_url: String, pub websocket_url: String, pub signers: Vec<&'a dyn Signer>, pub keypair_path: String, pub rpc_client: Option<Arc<RpcClient>>, pub rpc_timeout: Duration, pub verbose: bool, pub output_format: OutputFormat, pub commitment: CommitmentConfig, pub send_transaction_config: RpcSendTransactionConfig, pub confirm_transaction_initial_timeout: Duration, pub address_labels: HashMap<String, String>,
Fields
command: CliCommand
json_rpc_url: String
websocket_url: String
signers: Vec<&'a dyn Signer>
keypair_path: String
rpc_client: Option<Arc<RpcClient>>
rpc_timeout: Duration
verbose: bool
output_format: OutputFormat
commitment: CommitmentConfig
send_transaction_config: RpcSendTransactionConfig
confirm_transaction_initial_timeout: Duration
address_labels: HashMap<String, String>
Implementations
pub fn compute_websocket_url_setting(
websocket_cmd_url: &str,
websocket_cfg_url: &str,
json_rpc_cmd_url: &str,
json_rpc_cfg_url: &str
) -> (SettingType, String)
pub fn compute_json_rpc_url_setting(
json_rpc_cmd_url: &str,
json_rpc_cfg_url: &str
) -> (SettingType, String)
pub fn compute_keypair_path_setting(
keypair_cmd_path: &str,
keypair_cfg_path: &str
) -> (SettingType, String)
pub fn compute_commitment_config(
commitment_cmd: &str,
commitment_cfg: &str
) -> (SettingType, CommitmentConfig)
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CliConfig<'a>
impl<'a> !UnwindSafe for CliConfig<'a>
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V