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
sourceimpl Clone for GetNetTotalsResult
impl Clone for GetNetTotalsResult
sourcefn clone(&self) -> GetNetTotalsResult
fn clone(&self) -> GetNetTotalsResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetNetTotalsResult
impl Debug for GetNetTotalsResult
sourceimpl<'de> Deserialize<'de> for GetNetTotalsResult
impl<'de> Deserialize<'de> for GetNetTotalsResult
sourcefn 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
sourceimpl PartialEq<GetNetTotalsResult> for GetNetTotalsResult
impl PartialEq<GetNetTotalsResult> for GetNetTotalsResult
sourcefn 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 ==
. Read more
sourceimpl Serialize for GetNetTotalsResult
impl Serialize for GetNetTotalsResult
impl Eq for GetNetTotalsResult
impl StructuralEq for GetNetTotalsResult
impl StructuralPartialEq for GetNetTotalsResult
Auto Trait Implementations
impl RefUnwindSafe for GetNetTotalsResult
impl Send for GetNetTotalsResult
impl Sync for GetNetTotalsResult
impl Unpin for GetNetTotalsResult
impl UnwindSafe for GetNetTotalsResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more