Struct ckb_app_config::StatsArgs
source · pub struct StatsArgs {
pub config: Box<CKBAppConfig>,
pub consensus: Consensus,
pub from: Option<u64>,
pub to: Option<u64>,
}
Expand description
Parsed command line arguments for ckb stats
.
Fields§
§config: Box<CKBAppConfig>
Parsed ckb.toml
.
consensus: Consensus
Loaded consensus.
from: Option<u64>
Specifies the starting block number. The default is 1.
to: Option<u64>
Specifies the ending block number. The default is the tip block in the database.
Auto Trait Implementations§
impl RefUnwindSafe for StatsArgs
impl Send for StatsArgs
impl Sync for StatsArgs
impl Unpin for StatsArgs
impl UnwindSafe for StatsArgs
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