Struct ckb_app_config::MigrateArgs
source · 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§
impl RefUnwindSafe for MigrateArgs
impl Send for MigrateArgs
impl Sync for MigrateArgs
impl Unpin for MigrateArgs
impl UnwindSafe for MigrateArgs
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