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: f32block_size_limit: f32cumulative_difficulty: f32current: booldifficulty: f32fee_per_kb: f32grey_peerlist_size: f32hash_rate: f32height: f32incoming_connections_count: f32outgoing_connections_count: f32start_time: f32status: booltarget: f32target_height: f32testnet: booltop_block_hash: Stringtx_count: f32tx_pool_size: f32tx_pool_size_kbytes: f32white_peerlist_size: f32

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.