#[repr(C)]pub struct stat {Show 16 fields
pub st_dev: dev_t,
pub st_ino: c_ulonglong,
pub st_mode: c_uint,
pub st_nlink: c_uint,
pub st_uid: c_uint,
pub st_gid: c_uint,
pub st_rdev: c_ulonglong,
pub st_size: c_longlong,
pub st_blksize: blksize_t,
pub st_blocks: blkcnt_t,
pub st_atime: time_t,
pub st_atime_nsec: c_long,
pub st_mtime: time_t,
pub st_mtime_nsec: c_long,
pub st_ctime: time_t,
pub st_ctime_nsec: c_long,
/* private fields */
}
Fields
st_dev: dev_t
st_ino: c_ulonglong
st_mode: c_uint
st_nlink: c_uint
st_uid: c_uint
st_gid: c_uint
st_rdev: c_ulonglong
st_size: c_longlong
st_blksize: blksize_t
st_blocks: blkcnt_t
st_atime: time_t
st_atime_nsec: c_long
st_mtime: time_t
st_mtime_nsec: c_long
st_ctime: time_t
st_ctime_nsec: c_long
Trait Implementations
sourceimpl Hash for stat
impl Hash for stat
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Copy for stat
impl Eq for stat
impl StructuralEq for stat
impl StructuralPartialEq for stat
Auto Trait Implementations
impl RefUnwindSafe for stat
impl Send for stat
impl Sync for stat
impl Unpin for stat
impl UnwindSafe for stat
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more