pub struct GetNetTotals {
pub total_bytes_recieved: u64,
pub total_bytes_sent: u64,
pub time_millis: u64,
pub upload_target: UploadTarget,
}Expand description
Result of JSON-RPC method getnettotals.
getnettotals
Returns information about network traffic, including bytes in, bytes out, and current time.
Fields§
§total_bytes_recieved: u64Total bytes received.
total_bytes_sent: u64Total bytes sent.
time_millis: u64Current UNIX time in milliseconds.
upload_target: UploadTargetUpload target totals.
Trait Implementations§
Source§impl Clone for GetNetTotals
impl Clone for GetNetTotals
Source§fn clone(&self) -> GetNetTotals
fn clone(&self) -> GetNetTotals
Returns a duplicate 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 GetNetTotals
impl Debug for GetNetTotals
Source§impl<'de> Deserialize<'de> for GetNetTotals
impl<'de> Deserialize<'de> for GetNetTotals
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 GetNetTotals
impl PartialEq for GetNetTotals
Source§impl Serialize for GetNetTotals
impl Serialize for GetNetTotals
impl StructuralPartialEq for GetNetTotals
Auto Trait Implementations§
impl Freeze for GetNetTotals
impl RefUnwindSafe for GetNetTotals
impl Send for GetNetTotals
impl Sync for GetNetTotals
impl Unpin for GetNetTotals
impl UnwindSafe for GetNetTotals
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