Struct sigar_sys::sigar_file_attrs_t
source · #[repr(C)]pub struct sigar_file_attrs_t {
pub permissions: sigar_uint64_t,
pub type_: sigar_file_type_e,
pub uid: sigar_uid_t,
pub gid: sigar_gid_t,
pub inode: sigar_uint64_t,
pub device: sigar_uint64_t,
pub nlink: sigar_uint64_t,
pub size: sigar_uint64_t,
pub atime: sigar_uint64_t,
pub mtime: sigar_uint64_t,
pub ctime: sigar_uint64_t,
}
Fields§
§permissions: sigar_uint64_t
The access permissions of the file. Mimics Unix access rights.
type_: sigar_file_type_e
§uid: sigar_uid_t
The user id that owns the file
gid: sigar_gid_t
The group id that owns the file
inode: sigar_uint64_t
The inode of the file.
device: sigar_uint64_t
The id of the device the file is on.
nlink: sigar_uint64_t
The number of hard links to the file.
size: sigar_uint64_t
The size of the file
atime: sigar_uint64_t
The time the file was last accessed
mtime: sigar_uint64_t
The time the file was last modified
ctime: sigar_uint64_t
The time the file was last changed
Trait Implementations§
source§impl Clone for sigar_file_attrs_t
impl Clone for sigar_file_attrs_t
source§fn clone(&self) -> sigar_file_attrs_t
fn clone(&self) -> sigar_file_attrs_t
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