pub struct NetworkStats {
pub total_transactions: i64,
pub txs_last_day: i64,
pub total_contracts: i64,
pub contracts_last_day: i64,
pub graph_tx_volume: Vec<(i64, i64)>,
pub graph_block_time: Vec<(i64, f64)>,
pub peak_txs: (i64, i64),
}Fields§
§total_transactions: i64§txs_last_day: i64§total_contracts: i64§contracts_last_day: i64§graph_tx_volume: Vec<(i64, i64)>§graph_block_time: Vec<(i64, f64)>§peak_txs: (i64, i64)Trait Implementations§
Source§impl Clone for NetworkStats
impl Clone for NetworkStats
Source§impl ComposeSchema for NetworkStats
impl ComposeSchema for NetworkStats
Source§impl Debug for NetworkStats
impl Debug for NetworkStats
Source§impl<'de> Deserialize<'de> for NetworkStats
impl<'de> Deserialize<'de> for NetworkStats
Source§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
Source§impl Serialize for NetworkStats
impl Serialize for NetworkStats
Auto Trait Implementations§
impl Freeze for NetworkStats
impl RefUnwindSafe for NetworkStats
impl Send for NetworkStats
impl Sync for NetworkStats
impl Unpin for NetworkStats
impl UnsafeUnpin for NetworkStats
impl UnwindSafe for NetworkStats
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