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.Source§impl Parser for ConfigOverride
impl Parser for ConfigOverride
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for ConfigOverride
impl RefUnwindSafe for ConfigOverride
impl Send for ConfigOverride
impl Sync for ConfigOverride
impl Unpin for ConfigOverride
impl UnwindSafe for ConfigOverride
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more