[][src]Struct btfs::FileAttr

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 (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 Debug for FileAttr[src]

impl Clone for FileAttr[src]

impl Copy for FileAttr[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]