Struct ckb_app_config::ResetDataArgs[][src]

pub struct ResetDataArgs {
Show 13 fields pub force: bool, pub all: bool, pub database: bool, pub network: bool, pub network_peer_store: bool, pub network_secret_key: bool, pub logs: bool, pub data_dir: PathBuf, pub db_path: PathBuf, pub network_dir: PathBuf, pub network_peer_store_path: PathBuf, pub network_secret_key_path: PathBuf, pub logs_dir: Option<PathBuf>,
}
Expand description

Parsed command line arguments for ckb reset-data.

Fields

force: bool

Reset without asking for user confirmation.

all: bool

Reset all data.

database: bool

Reset database.

network: bool

Reset all network data, including the secret key and peer store.

network_peer_store: bool

Reset network peer store.

network_secret_key: bool

Reset network secret key.

logs: bool

Clean logs directory.

data_dir: PathBuf

The path to the CKB data directory.

db_path: PathBuf

The path to the database directory.

network_dir: PathBuf

The path to the network data directory.

network_peer_store_path: PathBuf

The path to the network peer store directory.

network_secret_key_path: PathBuf

The path to the network secret key.

logs_dir: Option<PathBuf>

The path to the logs directory.

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.