pub struct InterfaceStatsResponse {
pub interfaces: Vec<SingleInterfaceStat>,
pub transport_id: Option<[u8; 16]>,
pub transport_enabled: bool,
pub transport_uptime: f64,
pub total_rxb: u64,
pub total_txb: u64,
}Expand description
Interface statistics response.
Fields§
§interfaces: Vec<SingleInterfaceStat>§transport_id: Option<[u8; 16]>§transport_enabled: bool§transport_uptime: f64§total_rxb: u64Total received bytes across all interfaces.
total_txb: u64Total transmitted bytes across all interfaces.
Trait Implementations§
Source§impl Clone for InterfaceStatsResponse
impl Clone for InterfaceStatsResponse
Source§fn clone(&self) -> InterfaceStatsResponse
fn clone(&self) -> InterfaceStatsResponse
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 moreAuto Trait Implementations§
impl Freeze for InterfaceStatsResponse
impl RefUnwindSafe for InterfaceStatsResponse
impl Send for InterfaceStatsResponse
impl Sync for InterfaceStatsResponse
impl Unpin for InterfaceStatsResponse
impl UnwindSafe for InterfaceStatsResponse
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