pub struct FsStatResult {
pub name: String,
pub full_path: String,
pub is_dir: bool,
pub is_hidden: bool,
pub size: u64,
pub mtime: u64,
pub mode: Option<u32>,
}Expand description
Filesystem stat result (success case). Matches FsEntry shape with extra fields.
Fields§
§name: String§full_path: String§is_dir: bool§size: u64§mtime: u64§mode: Option<u32>Trait Implementations§
Source§impl Clone for FsStatResult
impl Clone for FsStatResult
Source§fn clone(&self) -> FsStatResult
fn clone(&self) -> FsStatResult
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 FsStatResult
impl Debug for FsStatResult
Source§impl<'de> Deserialize<'de> for FsStatResult
impl<'de> Deserialize<'de> for FsStatResult
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 FsStatResult
impl RefUnwindSafe for FsStatResult
impl Send for FsStatResult
impl Sync for FsStatResult
impl Unpin for FsStatResult
impl UnsafeUnpin for FsStatResult
impl UnwindSafe for FsStatResult
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