pub struct Metadata {
pub dev: u64,
pub ino: u64,
pub mode: u32,
pub uid: u32,
pub gid: u32,
pub nlink: u32,
pub rdev: u64,
pub mtime: u64,
pub file_size: u64,
}Expand description
File’s metadata.
Fields§
§dev: u64Containing device number.
ino: u64Inode.
mode: u32File mode.
uid: u32Owner’s user id.
gid: u32Owner’s group id.
nlink: u32No. of hard links.
rdev: u64Device number of the file itself.
mtime: u64Last modification time.
file_size: u64File size in bytes.
Trait Implementations§
impl Eq for Metadata
impl StructuralPartialEq for Metadata
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more