Struct libstatgrab_sys::sg_user_stats
source · #[repr(C)]pub struct sg_user_stats {
pub login_name: *mut c_char,
pub record_id: *mut c_char,
pub record_id_size: usize,
pub device: *mut c_char,
pub hostname: *mut c_char,
pub pid: pid_t,
pub login_time: time_t,
pub systime: time_t,
}
Fields§
§login_name: *mut c_char
§record_id: *mut c_char
§record_id_size: usize
§device: *mut c_char
§hostname: *mut c_char
§pid: pid_t
§login_time: time_t
§systime: time_t
Trait Implementations§
source§impl Clone for sg_user_stats
impl Clone for sg_user_stats
source§fn clone(&self) -> sg_user_stats
fn clone(&self) -> sg_user_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