pub struct ImportBlockchain {
Show 16 fields pub spec: SpecType, pub cache_config: CacheConfig, pub dirs: Directories, pub file_path: Option<String>, pub format: Option<DataFormat>, pub pruning: Pruning, pub pruning_history: u64, pub pruning_memory: usize, pub compaction: DatabaseCompactionProfile, pub tracing: Switch, pub fat_db: Switch, pub vm_type: VMType, pub check_seal: bool, pub with_color: bool, pub verifier_settings: VerifierSettings, pub max_round_blocks_to_import: usize,
}

Fields

spec: SpecTypecache_config: CacheConfigdirs: Directoriesfile_path: Option<String>format: Option<DataFormat>pruning: Pruningpruning_history: u64pruning_memory: usizecompaction: DatabaseCompactionProfiletracing: Switchfat_db: Switchvm_type: VMTypecheck_seal: boolwith_color: boolverifier_settings: VerifierSettingsmax_round_blocks_to_import: usize

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

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.