pub struct DirectoryEntry {
pub name: String,
pub path: String,
pub is_directory: bool,
}Fields§
§name: String§path: String§is_directory: boolTrait Implementations§
Source§impl Clone for DirectoryEntry
impl Clone for DirectoryEntry
Source§fn clone(&self) -> DirectoryEntry
fn clone(&self) -> DirectoryEntry
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 DirectoryEntry
impl Debug for DirectoryEntry
Source§impl Default for DirectoryEntry
impl Default for DirectoryEntry
Source§fn default() -> DirectoryEntry
fn default() -> DirectoryEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DirectoryEntrywhere
DirectoryEntry: Default,
impl<'de> Deserialize<'de> for DirectoryEntrywhere
DirectoryEntry: Default,
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
Source§impl PartialEq for DirectoryEntry
impl PartialEq for DirectoryEntry
Source§impl Serialize for DirectoryEntry
impl Serialize for DirectoryEntry
impl Eq for DirectoryEntry
impl StructuralPartialEq for DirectoryEntry
Auto Trait Implementations§
impl Freeze for DirectoryEntry
impl RefUnwindSafe for DirectoryEntry
impl Send for DirectoryEntry
impl Sync for DirectoryEntry
impl Unpin for DirectoryEntry
impl UnsafeUnpin for DirectoryEntry
impl UnwindSafe for DirectoryEntry
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