Struct fuse::FileAttr [] [src]

pub struct FileAttr {
    pub ino: u64,
    pub size: u64,
    pub blocks: u64,
    pub atime: Timespec,
    pub mtime: Timespec,
    pub ctime: Timespec,
    pub crtime: Timespec,
    pub kind: FileType,
    pub perm: u16,
    pub nlink: u32,
    pub uid: u32,
    pub gid: u32,
    pub rdev: u32,
    pub flags: u32,
}

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 (OS X 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 (OS X only, see chflags(2))

Trait Implementations

impl Debug for FileAttr
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for FileAttr
[src]

impl Clone for FileAttr
[src]

fn clone(&self) -> FileAttr

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more