Struct drakey_fuse::FileAttr
source · pub struct FileAttr {}
Expand description
File attributes
Fields
ino: u64
Inode number
size: u64
Size in bytes
blocks: u64
Size in blocks
atime: Timespec
Time of last access
mtime: Timespec
Time of last modification
ctime: Timespec
Time of last change
crtime: Timespec
Time of creation (macOS only)
kind: FileType
Kind of file (directory, file, pipe, etc)
perm: u16
Permissions
nlink: u32
Number of hard links
uid: u32
User id
gid: u32
Group id
rdev: u32
Rdev
flags: u32
Flags (macOS only, see chflags(2))
Trait Implementations
impl Copy for FileAttr
impl Eq for FileAttr
impl StructuralEq for FileAttr
impl StructuralPartialEq for FileAttr
Auto Trait Implementations
impl RefUnwindSafe for FileAttr
impl Send for FileAttr
impl Sync for FileAttr
impl Unpin for FileAttr
impl UnwindSafe for FileAttr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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