pub struct VirtualDirEntry {
pub name: String,
pub is_directory: bool,
pub is_symbolic_link: bool,
}Expand description
A directory entry with a known type, returned by read_dir_with_types on the mount contract.
Fields§
§name: String§is_directory: bool§is_symbolic_link: boolTrait Implementations§
Source§impl Clone for VirtualDirEntry
impl Clone for VirtualDirEntry
Source§impl Debug for VirtualDirEntry
impl Debug for VirtualDirEntry
Source§impl<'de> Deserialize<'de> for VirtualDirEntry
impl<'de> Deserialize<'de> for VirtualDirEntry
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
impl Eq for VirtualDirEntry
Source§impl PartialEq for VirtualDirEntry
impl PartialEq for VirtualDirEntry
Source§impl Serialize for VirtualDirEntry
impl Serialize for VirtualDirEntry
impl StructuralPartialEq for VirtualDirEntry
Auto Trait Implementations§
impl Freeze for VirtualDirEntry
impl RefUnwindSafe for VirtualDirEntry
impl Send for VirtualDirEntry
impl Sync for VirtualDirEntry
impl Unpin for VirtualDirEntry
impl UnsafeUnpin for VirtualDirEntry
impl UnwindSafe for VirtualDirEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.