pub struct ResetDataArgs {Show 17 fields
pub force: bool,
pub all: bool,
pub database: bool,
pub indexer: bool,
pub rich_indexer: 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 indexer_path: PathBuf,
pub rich_indexer_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: boolReset without asking for user confirmation.
all: boolReset all data.
database: boolReset database.
indexer: boolReset indexer.
rich_indexer: boolReset rich-indexer.
network: boolReset all network data, including the secret key and peer store.
network_peer_store: boolReset network peer store.
network_secret_key: boolReset network secret key.
logs: boolClean logs directory.
data_dir: PathBufThe path to the CKB data directory.
db_path: PathBufThe path to the database directory.
indexer_path: PathBufThe path to the indexer directory.
rich_indexer_path: PathBufThe path to the rich-indexer directory.
network_dir: PathBufThe path to the network data directory.
network_peer_store_path: PathBufThe path to the network peer store directory.
network_secret_key_path: PathBufThe path to the network secret key.
logs_dir: Option<PathBuf>The path to the logs directory.
Auto Trait Implementations§
impl Freeze for ResetDataArgs
impl RefUnwindSafe for ResetDataArgs
impl Send for ResetDataArgs
impl Sync for ResetDataArgs
impl Unpin for ResetDataArgs
impl UnwindSafe for ResetDataArgs
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