Struct lethean_api::models::network_stats_entity::NetworkStatsEntity [−][src]
pub struct NetworkStatsEntity {}Show 21 fields
pub alt_blocks_count: f32, pub block_size_limit: f32, pub cumulative_difficulty: f32, pub current: bool, pub difficulty: f32, pub fee_per_kb: f32, pub grey_peerlist_size: f32, pub hash_rate: f32, pub height: f32, pub incoming_connections_count: f32, pub outgoing_connections_count: f32, pub start_time: f32, pub status: bool, pub target: f32, pub target_height: f32, pub testnet: bool, pub top_block_hash: String, pub tx_count: f32, pub tx_pool_size: f32, pub tx_pool_size_kbytes: f32, pub white_peerlist_size: f32,
Fields
alt_blocks_count: f32
block_size_limit: f32
cumulative_difficulty: f32
current: bool
difficulty: f32
fee_per_kb: f32
grey_peerlist_size: f32
hash_rate: f32
height: f32
incoming_connections_count: f32
outgoing_connections_count: f32
start_time: f32
status: bool
target: f32
target_height: f32
testnet: bool
top_block_hash: String
tx_count: f32
tx_pool_size: f32
tx_pool_size_kbytes: f32
white_peerlist_size: f32
Implementations
pub fn new(
alt_blocks_count: f32,
block_size_limit: f32,
cumulative_difficulty: f32,
current: bool,
difficulty: f32,
fee_per_kb: f32,
grey_peerlist_size: f32,
hash_rate: f32,
height: f32,
incoming_connections_count: f32,
outgoing_connections_count: f32,
start_time: f32,
status: bool,
target: f32,
target_height: f32,
testnet: bool,
top_block_hash: String,
tx_count: f32,
tx_pool_size: f32,
tx_pool_size_kbytes: f32,
white_peerlist_size: f32
) -> NetworkStatsEntity
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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
impl RefUnwindSafe for NetworkStatsEntity
impl Send for NetworkStatsEntity
impl Sync for NetworkStatsEntity
impl Unpin for NetworkStatsEntity
impl UnwindSafe for NetworkStatsEntity
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more