Struct bitcoincore_rpc_json::GetNetTotalsResult
source · pub struct GetNetTotalsResult {
pub total_bytes_recv: u64,
pub total_bytes_sent: u64,
pub time_millis: u64,
pub upload_target: GetNetTotalsResultUploadTarget,
}
Fields§
§total_bytes_recv: u64
Total bytes received
total_bytes_sent: u64
Total bytes sent
time_millis: u64
Current UNIX time in milliseconds
upload_target: GetNetTotalsResultUploadTarget
Upload target statistics
Trait Implementations§
source§impl Clone for GetNetTotalsResult
impl Clone for GetNetTotalsResult
source§fn clone(&self) -> GetNetTotalsResult
fn clone(&self) -> GetNetTotalsResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetNetTotalsResult
impl Debug for GetNetTotalsResult
source§impl<'de> Deserialize<'de> for GetNetTotalsResult
impl<'de> Deserialize<'de> for GetNetTotalsResult
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 PartialEq<GetNetTotalsResult> for GetNetTotalsResult
impl PartialEq<GetNetTotalsResult> for GetNetTotalsResult
source§fn eq(&self, other: &GetNetTotalsResult) -> bool
fn eq(&self, other: &GetNetTotalsResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.