Struct libstatgrab_sys::sg_fs_stats
source · #[repr(C)]pub struct sg_fs_stats {Show 20 fields
pub device_name: *mut c_char,
pub device_canonical: *mut c_char,
pub fs_type: *mut c_char,
pub mnt_point: *mut c_char,
pub device_type: sg_fs_device_type,
pub size: c_ulonglong,
pub used: c_ulonglong,
pub free: c_ulonglong,
pub avail: c_ulonglong,
pub total_inodes: c_ulonglong,
pub used_inodes: c_ulonglong,
pub free_inodes: c_ulonglong,
pub avail_inodes: c_ulonglong,
pub io_size: c_ulonglong,
pub block_size: c_ulonglong,
pub total_blocks: c_ulonglong,
pub free_blocks: c_ulonglong,
pub used_blocks: c_ulonglong,
pub avail_blocks: c_ulonglong,
pub systime: time_t,
}
Fields§
§device_name: *mut c_char
§device_canonical: *mut c_char
§fs_type: *mut c_char
§mnt_point: *mut c_char
§device_type: sg_fs_device_type
§size: c_ulonglong
§used: c_ulonglong
§free: c_ulonglong
§avail: c_ulonglong
§total_inodes: c_ulonglong
§used_inodes: c_ulonglong
§free_inodes: c_ulonglong
§avail_inodes: c_ulonglong
§io_size: c_ulonglong
§block_size: c_ulonglong
§total_blocks: c_ulonglong
§free_blocks: c_ulonglong
§used_blocks: c_ulonglong
§avail_blocks: c_ulonglong
§systime: time_t
Trait Implementations§
source§impl Clone for sg_fs_stats
impl Clone for sg_fs_stats
source§fn clone(&self) -> sg_fs_stats
fn clone(&self) -> sg_fs_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