pub struct ConnectionsWithSpeed {
pub connections: Vec<ConnectionWithSpeed>,
pub download_total: u64,
pub upload_total: u64,
}Fields§
§connections: Vec<ConnectionWithSpeed>§download_total: u64§upload_total: u64Trait Implementations§
Source§impl Clone for ConnectionsWithSpeed
impl Clone for ConnectionsWithSpeed
Source§fn clone(&self) -> ConnectionsWithSpeed
fn clone(&self) -> ConnectionsWithSpeed
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConnectionsWithSpeed
impl Debug for ConnectionsWithSpeed
Source§impl<'de> Deserialize<'de> for ConnectionsWithSpeed
impl<'de> Deserialize<'de> for ConnectionsWithSpeed
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 Ord for ConnectionsWithSpeed
impl Ord for ConnectionsWithSpeed
Source§fn cmp(&self, other: &ConnectionsWithSpeed) -> Ordering
fn cmp(&self, other: &ConnectionsWithSpeed) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConnectionsWithSpeed
impl PartialEq for ConnectionsWithSpeed
Source§fn eq(&self, other: &ConnectionsWithSpeed) -> bool
fn eq(&self, other: &ConnectionsWithSpeed) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ConnectionsWithSpeed
impl PartialOrd for ConnectionsWithSpeed
Source§impl Serialize for ConnectionsWithSpeed
impl Serialize for ConnectionsWithSpeed
impl Eq for ConnectionsWithSpeed
impl StructuralPartialEq for ConnectionsWithSpeed
Auto Trait Implementations§
impl Freeze for ConnectionsWithSpeed
impl RefUnwindSafe for ConnectionsWithSpeed
impl Send for ConnectionsWithSpeed
impl Sync for ConnectionsWithSpeed
impl Unpin for ConnectionsWithSpeed
impl UnsafeUnpin for ConnectionsWithSpeed
impl UnwindSafe for ConnectionsWithSpeed
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