pub struct Bandwidth {
pub tx_bytes_per_sec: u64,
pub rx_bytes_per_sec: u64,
}Expand description
Bandwidth measurement.
Fields§
§tx_bytes_per_sec: u64§rx_bytes_per_sec: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bandwidth
impl<'de> Deserialize<'de> for Bandwidth
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
impl Copy for Bandwidth
Auto Trait Implementations§
impl Freeze for Bandwidth
impl RefUnwindSafe for Bandwidth
impl Send for Bandwidth
impl Sync for Bandwidth
impl Unpin for Bandwidth
impl UnsafeUnpin for Bandwidth
impl UnwindSafe for Bandwidth
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