pub struct BootstrapChainArgs {
pub chain_id: String,
pub chain_store_dir: String,
pub chain_command_path: String,
pub account_prefix: String,
pub staking_denom: String,
pub transfer_denom: String,
}Fields§
§chain_id: String§chain_store_dir: String§chain_command_path: String§account_prefix: String§staking_denom: String§transfer_denom: StringTrait Implementations§
Source§impl Args for BootstrapChainArgs
impl Args for BootstrapChainArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§impl<App> BootstrapLoader<App, BootstrapChainArgs> for LoadCosmosBootstrapwhere
App: HasBootstrapType<Bootstrap = CosmosBootstrap> + HasRuntime<Runtime = HermesRuntime> + CanRaiseError<HermesError>,
impl<App> BootstrapLoader<App, BootstrapChainArgs> for LoadCosmosBootstrapwhere
App: HasBootstrapType<Bootstrap = CosmosBootstrap> + HasRuntime<Runtime = HermesRuntime> + CanRaiseError<HermesError>,
async fn load_bootstrap( app: &App, args: &BootstrapChainArgs, ) -> Result<App::Bootstrap, App::Error>
Source§impl CommandFactory for BootstrapChainArgs
impl CommandFactory for BootstrapChainArgs
Source§impl Debug for BootstrapChainArgs
impl Debug for BootstrapChainArgs
Source§impl FromArgMatches for BootstrapChainArgs
impl FromArgMatches for BootstrapChainArgs
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>
Assign values from
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>
Assign values from
ArgMatches to self.Source§impl HasField<(Char<'a'>, Char<'c'>, Char<'c'>, Char<'o'>, Char<'u'>, Char<'n'>, Char<'t'>, Char<'_'>, Char<'p'>, Char<'r'>, Char<'e'>, Char<'f'>, Char<'i'>, Char<'x'>)> for BootstrapChainArgs
impl HasField<(Char<'a'>, Char<'c'>, Char<'c'>, Char<'o'>, Char<'u'>, Char<'n'>, Char<'t'>, Char<'_'>, Char<'p'>, Char<'r'>, Char<'e'>, Char<'f'>, Char<'i'>, Char<'x'>)> for BootstrapChainArgs
Source§impl HasField<(Char<'c'>, Char<'h'>, Char<'a'>, Char<'i'>, Char<'n'>, Char<'_'>, Char<'c'>, Char<'o'>, Char<'m'>, Char<'m'>, Char<'a'>, Char<'n'>, Char<'d'>, Char<'_'>, Char<'p'>, Char<'a'>, Char<'t'>, Char<'h'>)> for BootstrapChainArgs
impl HasField<(Char<'c'>, Char<'h'>, Char<'a'>, Char<'i'>, Char<'n'>, Char<'_'>, Char<'c'>, Char<'o'>, Char<'m'>, Char<'m'>, Char<'a'>, Char<'n'>, Char<'d'>, Char<'_'>, Char<'p'>, Char<'a'>, Char<'t'>, Char<'h'>)> for BootstrapChainArgs
Source§impl HasField<(Char<'c'>, Char<'h'>, Char<'a'>, Char<'i'>, Char<'n'>, Char<'_'>, Char<'i'>, Char<'d'>)> for BootstrapChainArgs
impl HasField<(Char<'c'>, Char<'h'>, Char<'a'>, Char<'i'>, Char<'n'>, Char<'_'>, Char<'i'>, Char<'d'>)> for BootstrapChainArgs
Source§impl HasField<(Char<'c'>, Char<'h'>, Char<'a'>, Char<'i'>, Char<'n'>, Char<'_'>, Char<'s'>, Char<'t'>, Char<'o'>, Char<'r'>, Char<'e'>, Char<'_'>, Char<'d'>, Char<'i'>, Char<'r'>)> for BootstrapChainArgs
impl HasField<(Char<'c'>, Char<'h'>, Char<'a'>, Char<'i'>, Char<'n'>, Char<'_'>, Char<'s'>, Char<'t'>, Char<'o'>, Char<'r'>, Char<'e'>, Char<'_'>, Char<'d'>, Char<'i'>, Char<'r'>)> for BootstrapChainArgs
Source§impl HasField<(Char<'s'>, Char<'t'>, Char<'a'>, Char<'k'>, Char<'i'>, Char<'n'>, Char<'g'>, Char<'_'>, Char<'d'>, Char<'e'>, Char<'n'>, Char<'o'>, Char<'m'>)> for BootstrapChainArgs
impl HasField<(Char<'s'>, Char<'t'>, Char<'a'>, Char<'k'>, Char<'i'>, Char<'n'>, Char<'g'>, Char<'_'>, Char<'d'>, Char<'e'>, Char<'n'>, Char<'o'>, Char<'m'>)> for BootstrapChainArgs
Source§impl HasField<(Char<'t'>, Char<'r'>, Char<'a'>, Char<'n'>, Char<'s'>, Char<'f'>, Char<'e'>, Char<'r'>, Char<'_'>, Char<'d'>, Char<'e'>, Char<'n'>, Char<'o'>, Char<'m'>)> for BootstrapChainArgs
impl HasField<(Char<'t'>, Char<'r'>, Char<'a'>, Char<'n'>, Char<'s'>, Char<'f'>, Char<'e'>, Char<'r'>, Char<'_'>, Char<'d'>, Char<'e'>, Char<'n'>, Char<'o'>, Char<'m'>)> for BootstrapChainArgs
Source§impl Parser for BootstrapChainArgs
impl Parser for BootstrapChainArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, exit on error.
Auto Trait Implementations§
impl Freeze for BootstrapChainArgs
impl RefUnwindSafe for BootstrapChainArgs
impl Send for BootstrapChainArgs
impl Sync for BootstrapChainArgs
impl Unpin for BootstrapChainArgs
impl UnwindSafe for BootstrapChainArgs
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
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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>
Converts
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>
Converts
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request