Struct libc::stat

source · []
#[repr(C)]
pub struct stat {
Show 21 fields pub st_dev: dev_t, pub st_mode: mode_t, pub st_ino: ino_t, pub st_nlink: nlink_t, pub st_uid: uid_t, pub st_gid: gid_t, pub st_rdev: dev_t, pub st_atime: time_t, pub st_atimensec: c_long, pub st_mtime: time_t, pub st_mtimensec: c_long, pub st_ctime: time_t, pub st_ctimensec: c_long, pub st_birthtime: time_t, pub st_birthtimensec: c_long, pub st_size: off_t, pub st_blocks: blkcnt_t, pub st_blksize: blksize_t, pub st_flags: u32, pub st_gen: u32, pub st_spare: [u32; 2],
}

Fields

st_dev: dev_tst_mode: mode_tst_ino: ino_tst_nlink: nlink_tst_uid: uid_tst_gid: gid_tst_rdev: dev_tst_atime: time_tst_atimensec: c_longst_mtime: time_tst_mtimensec: c_longst_ctime: time_tst_ctimensec: c_longst_birthtime: time_tst_birthtimensec: c_longst_size: off_tst_blocks: blkcnt_tst_blksize: blksize_tst_flags: u32st_gen: u32st_spare: [u32; 2]

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

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

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.