#[repr(C)]pub struct Stat {}Expand description
Store the file attributes from a supported file.
Fields
st_dev: u64ID of device containing file
st_ino: u64Inode number
st_mode: u32File type and mode
st_nlink: u32Number of hard links
st_uid: u32User ID of the file’s owner.
st_gid: u32Group ID of the file’s group.
st_rdev: u64Device ID (if special file)
__pad: u64st_size: i64Size of file, in bytes.
st_blksize: u32Optimal block size for I/O.
__pad2: i32st_blocks: u64Number 512-byte blocks allocated.
st_atime: TimeSpecBackward compatibility. Used for time of last access.
st_mtime: TimeSpecTime of last modification.
st_ctime: TimeSpecTime of last status change.
__unused: u64Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Stat
impl UnwindSafe for Stat
Blanket Implementations
Mutably borrows from an owned value. Read more