Struct linux_raw_sys::general::stat
source · [−]#[repr(C)]pub struct stat {Show 18 fields
pub st_dev: c_ulong,
pub st_ino: c_ulong,
pub st_mode: c_ushort,
pub st_nlink: c_ushort,
pub st_uid: c_ushort,
pub st_gid: c_ushort,
pub st_rdev: c_ulong,
pub st_size: c_ulong,
pub st_blksize: c_ulong,
pub st_blocks: c_ulong,
pub st_atime: c_ulong,
pub st_atime_nsec: c_ulong,
pub st_mtime: c_ulong,
pub st_mtime_nsec: c_ulong,
pub st_ctime: c_ulong,
pub st_ctime_nsec: c_ulong,
pub __unused4: c_ulong,
pub __unused5: c_ulong,
}Fields
st_dev: c_ulongst_ino: c_ulongst_mode: c_ushortst_nlink: c_ushortst_uid: c_ushortst_gid: c_ushortst_rdev: c_ulongst_size: c_ulongst_blksize: c_ulongst_blocks: c_ulongst_atime: c_ulongst_atime_nsec: c_ulongst_mtime: c_ulongst_mtime_nsec: c_ulongst_ctime: c_ulongst_ctime_nsec: c_ulong__unused4: c_ulong__unused5: c_ulongTrait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more