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 for GetNetTotalsResult
impl PartialEq 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 ==
.source§impl Serialize for GetNetTotalsResult
impl Serialize for GetNetTotalsResult
impl Eq for GetNetTotalsResult
impl StructuralPartialEq for GetNetTotalsResult
Auto Trait Implementations§
impl Freeze for GetNetTotalsResult
impl RefUnwindSafe for GetNetTotalsResult
impl Send for GetNetTotalsResult
impl Sync for GetNetTotalsResult
impl Unpin for GetNetTotalsResult
impl UnwindSafe for GetNetTotalsResult
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