Struct solana_cli_config::ConfigInput
source · pub struct ConfigInput {
pub json_rpc_url: String,
pub websocket_url: String,
pub keypair_path: String,
pub commitment: CommitmentConfig,
}
Fields§
§json_rpc_url: String
§websocket_url: String
§keypair_path: String
§commitment: CommitmentConfig
Implementations§
source§impl ConfigInput
impl ConfigInput
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§
source§impl Default for ConfigInput
impl Default for ConfigInput
source§fn default() -> ConfigInput
fn default() -> ConfigInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ConfigInput
impl Send for ConfigInput
impl Sync for ConfigInput
impl Unpin for ConfigInput
impl UnwindSafe for ConfigInput
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