#[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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.