Struct solana_cli::cli::CliConfig [−][src]
pub struct CliConfig<'a> {
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 address_labels: HashMap<String, String>,
}Fields
command: CliCommandjson_rpc_url: Stringwebsocket_url: Stringsigners: Vec<&'a dyn Signer>keypair_path: Stringrpc_client: Option<Arc<RpcClient>>rpc_timeout: Durationverbose: booloutput_format: OutputFormatcommitment: CommitmentConfigsend_transaction_config: RpcSendTransactionConfigaddress_labels: HashMap<String, String>Implementations
impl CliConfig<'_>[src]
impl CliConfig<'_>[src]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)[src]
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)[src]
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)[src]
keypair_cmd_path: &str,
keypair_cfg_path: &str
) -> (SettingType, String)
pub fn compute_commitment_config(
commitment_cmd: &str,
commitment_cfg: &str
) -> (SettingType, CommitmentConfig)[src]
commitment_cmd: &str,
commitment_cfg: &str
) -> (SettingType, CommitmentConfig)
pub fn recent_for_tests() -> Self[src]
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CliConfig<'a>
impl<'a> !Send for CliConfig<'a>
impl<'a> !Sync for CliConfig<'a>
impl<'a> Unpin for CliConfig<'a>
impl<'a> !UnwindSafe for CliConfig<'a>
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for Tpub default fn example() -> T
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<T> Pointable for T
impl<T> Pointable for Timpl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,