#[repr(C)]
pub struct Filestat { pub dev: Device, pub ino: Inode, pub filetype: Filetype, pub nlink: Linkcount, pub size: Filesize, pub atim: Timestamp, pub mtim: Timestamp, pub ctim: Timestamp, }

Fields

dev: Device

Device ID of device containing the file.

ino: Inode

File serial number.

filetype: Filetype

File type.

nlink: Linkcount

Number of hard links to the file.

size: Filesize

For regular files, the file size in bytes. For symbolic links, the length in bytes of the pathname contained in the symbolic link.

atim: Timestamp

Last data access timestamp.

mtim: Timestamp

Last data modification timestamp.

ctim: Timestamp

Last file status change timestamp.

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

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.