pub struct EntryInfo {
pub name: String,
pub path: String,
pub file_type: Option<FileType>,
pub size: Option<u64>,
pub metadata: Map<String, Value>,
}Expand description
Metadata for one sandbox filesystem entry.
Fields§
§name: StringBasename of the entry.
path: StringAbsolute sandbox path.
file_type: Option<FileType>File type, when returned by the runtime.
size: Option<u64>Size in bytes, when known.
metadata: Map<String, Value>Runtime metadata map.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EntryInfo
impl RefUnwindSafe for EntryInfo
impl Send for EntryInfo
impl Sync for EntryInfo
impl Unpin for EntryInfo
impl UnsafeUnpin for EntryInfo
impl UnwindSafe for EntryInfo
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