#[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_tTrait 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 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 moreSource§impl Debug for sg_network_iface_stats
impl Debug for sg_network_iface_stats
impl Copy for sg_network_iface_stats
Auto Trait Implementations§
impl Freeze for sg_network_iface_stats
impl RefUnwindSafe for sg_network_iface_stats
impl !Send for sg_network_iface_stats
impl !Sync for sg_network_iface_stats
impl Unpin for sg_network_iface_stats
impl UnwindSafe for sg_network_iface_stats
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