pub struct MigrateArgs {
pub config: Box<CKBAppConfig>,
pub consensus: Consensus,
pub check: bool,
pub force: bool,
pub include_background: bool,
}Expand description
Parsed command line arguments for ckb migrate.
Fields§
§config: Box<CKBAppConfig>The parsed ckb.toml.
consensus: ConsensusLoaded consensus.
check: boolCheck whether it is required to do migration instead of really perform the migration.
force: boolDo migration without interactive prompt.
include_background: boolWhether include background migrations
Auto Trait Implementations§
impl !Freeze for MigrateArgs
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
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 more