pub struct FsEntryInfo {
pub path: String,
pub kind: String,
pub size: u64,
pub mode: u32,
pub modified: Option<i64>,
}Expand description
Metadata about a filesystem entry (wire format).
Fields§
§path: StringPath of the entry.
kind: StringKind of entry: "file", "dir", "symlink", or "other".
size: u64Size in bytes.
mode: u32Unix permission bits.
modified: Option<i64>Last modification time as Unix timestamp (seconds since epoch).
Trait Implementations§
Source§impl Clone for FsEntryInfo
impl Clone for FsEntryInfo
Source§fn clone(&self) -> FsEntryInfo
fn clone(&self) -> FsEntryInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FsEntryInfo
impl Debug for FsEntryInfo
Source§impl<'de> Deserialize<'de> for FsEntryInfo
impl<'de> Deserialize<'de> for FsEntryInfo
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
Auto Trait Implementations§
impl Freeze for FsEntryInfo
impl RefUnwindSafe for FsEntryInfo
impl Send for FsEntryInfo
impl Sync for FsEntryInfo
impl Unpin for FsEntryInfo
impl UnsafeUnpin for FsEntryInfo
impl UnwindSafe for FsEntryInfo
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