Struct libstatgrab_sys::sg_network_iface_stats
source · #[repr(C)]pub struct sg_network_iface_stats {
pub interface_name: *mut c_char,
pub speed: c_ulonglong,
pub factor: c_ulonglong,
pub duplex: sg_iface_duplex,
pub up: sg_iface_updown,
pub systime: time_t,
}
Fields§
§interface_name: *mut c_char
§speed: c_ulonglong
§factor: c_ulonglong
§duplex: sg_iface_duplex
§up: sg_iface_updown
§systime: time_t
Trait Implementations§
source§impl Clone for sg_network_iface_stats
impl Clone for sg_network_iface_stats
source§fn clone(&self) -> sg_network_iface_stats
fn clone(&self) -> sg_network_iface_stats
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 more