pub struct GuestNetworkInterfaceStat {
pub rx_bytes: u64,
pub rx_dropped: u64,
pub rx_errs: u64,
pub rx_packets: u64,
pub tx_bytes: u64,
pub tx_dropped: u64,
pub tx_errs: u64,
pub tx_packets: u64,
}
Fields§
§rx_bytes: u64
§rx_dropped: u64
§rx_errs: u64
§rx_packets: u64
§tx_bytes: u64
§tx_dropped: u64
§tx_errs: u64
§tx_packets: u64
Trait Implementations§
Source§impl Clone for GuestNetworkInterfaceStat
impl Clone for GuestNetworkInterfaceStat
Source§fn clone(&self) -> GuestNetworkInterfaceStat
fn clone(&self) -> GuestNetworkInterfaceStat
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 GuestNetworkInterfaceStat
impl Debug for GuestNetworkInterfaceStat
Source§impl<'de> Deserialize<'de> for GuestNetworkInterfaceStat
impl<'de> Deserialize<'de> for GuestNetworkInterfaceStat
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
Auto Trait Implementations§
impl Freeze for GuestNetworkInterfaceStat
impl RefUnwindSafe for GuestNetworkInterfaceStat
impl Send for GuestNetworkInterfaceStat
impl Sync for GuestNetworkInterfaceStat
impl Unpin for GuestNetworkInterfaceStat
impl UnwindSafe for GuestNetworkInterfaceStat
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