pub struct FsStat {
pub name: String,
pub dir: bool,
pub size: i64,
pub mode: i64,
pub mod_time_ms: i64,
}Expand description
File metadata (fs.stat). Matches the reference types.ts FsStat: fields
dir (bool), mode (int), and modTimeMs (unix-millis).
Fields§
§name: String§dir: bool§size: i64§mode: i64§mod_time_ms: i64Trait Implementations§
Source§impl<'de> Deserialize<'de> for FsStat
impl<'de> Deserialize<'de> for FsStat
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 FsStat
impl RefUnwindSafe for FsStat
impl Send for FsStat
impl Sync for FsStat
impl Unpin for FsStat
impl UnsafeUnpin for FsStat
impl UnwindSafe for FsStat
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