Struct ckb_app_config::ImportArgs[][src]

pub struct ImportArgs {
    pub config: Box<CKBAppConfig>,
    pub consensus: Consensus,
    pub source: PathBuf,
}
Expand description

Parsed command line arguments for ckb import.

Fields

config: Box<CKBAppConfig>

Parsed ckb.toml.

consensus: Consensus

Loaded consensus.

source: PathBuf

The path to the file to be imported.

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.