Struct ckb_app_config::MigrateArgs[][src]

pub struct MigrateArgs {
    pub config: Box<CKBAppConfig>,
    pub consensus: Consensus,
    pub check: bool,
    pub force: bool,
}
Expand description

Parsed command line arguments for ckb migrate.

Fields

config: Box<CKBAppConfig>

The parsed ckb.toml.

consensus: Consensus

Loaded consensus.

check: bool

Check whether it is required to do migration instead of really perform the migration.

force: bool

Do migration without interactive prompt.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

TODO(doc): @quake

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.