Struct shadow_drive_cli::ConfigOverride
source · pub struct ConfigOverride {
pub url: Option<String>,
pub keypair: Option<String>,
pub skip_seed_phrase_validation: bool,
pub confirm_key: bool,
pub skip_confirm: bool,
pub auth: Option<String>,
}Expand description
Manually specify a cluster url and/or keypair.
Those values otherwise default to the Solana CLI config file.
All values other than url and keypair exist only to satisfy compatibility
with keypair resolution.
Fields§
§url: Option<String>The target URL for the cluster. See Solana CLI documentation on how to use this. Default values and usage patterns are identical to Solana CLI.
keypair: Option<String>The target signer for transactions. See Solana CLI documentation on how to use this. Default values and usage patterns are identical to Solana CLI.
skip_seed_phrase_validation: boolSkip BIP-39 seed phrase validation (not recommended)
confirm_key: boolManually confirm the signer before proceeding
skip_confirm: boolBypass the manual confirmation on various operations that alter the state of the storage network.
auth: Option<String>Supply a JWT to be included as a Bearer auth token to each RPC request.
Use keyword “genesysgo” to automatically
authenticate with a GenesysGo Premium RPC endpoint.
GenesysGo Account ID is inferred from -u/--url path.
See also the shadow-rpc-auth subcommand for manually
acquiring an auth token.
Trait Implementations§
source§impl Args for ConfigOverride
impl Args for ConfigOverride
source§impl CommandFactory for ConfigOverride
impl CommandFactory for ConfigOverride
source§fn into_app_for_update<'b>() -> Command<'b>
fn into_app_for_update<'b>() -> Command<'b>
CommandFactory::command_for_updatesource§impl Debug for ConfigOverride
impl Debug for ConfigOverride
source§impl FromArgMatches for ConfigOverride
impl FromArgMatches for ConfigOverride
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
ArgMatches to self.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
ArgMatches to self.