pub struct Stat {
pub mtime: Time,
pub ctime: Time,
pub dev: u32,
pub ino: u32,
pub uid: u32,
pub gid: u32,
pub size: u32,
}
Expand description
An entry’s filesystem stat information.
Fields§
§mtime: Time
Modification time
ctime: Time
Creation time
dev: u32
Device number
ino: u32
Inode number
uid: u32
User id of the owner
gid: u32
Group id of the owning group
size: u32
The size of bytes on disk. Capped to u32 so files bigger than that will need thorough additional checking
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stat
impl<'de> Deserialize<'de> for Stat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Stat
impl Ord for Stat
Source§impl PartialOrd for Stat
impl PartialOrd for Stat
impl Copy for Stat
impl Eq for Stat
impl StructuralPartialEq for Stat
Auto Trait Implementations§
impl Freeze for Stat
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
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