pub struct FsEntry {
pub name: String,
pub dir: bool,
pub size: i64,
}Expand description
One directory entry (fs.list). Matches the reference types.ts FsEntry:
the wire field is dir (bool), NOT isDir; there is no path/mode/modTime.
Fields§
§name: String§dir: bool§size: i64Trait Implementations§
Source§impl<'de> Deserialize<'de> for FsEntry
impl<'de> Deserialize<'de> for FsEntry
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 FsEntry
impl RefUnwindSafe for FsEntry
impl Send for FsEntry
impl Sync for FsEntry
impl Unpin for FsEntry
impl UnsafeUnpin for FsEntry
impl UnwindSafe for FsEntry
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