pub struct DirectoryEntry<'repo> {
pub name: String,
pub node: TreeEntry<'repo>,
}
Expand description
A simple struct for a TreeEntry
prepackaged with it’s name for easier use.
Fields§
§name: String
The file/directory name, without any relative or absolute paths.
node: TreeEntry<'repo>
The TreeEntry
with this name.
Auto Trait Implementations§
impl<'repo> Freeze for DirectoryEntry<'repo>
impl<'repo> RefUnwindSafe for DirectoryEntry<'repo>
impl<'repo> !Send for DirectoryEntry<'repo>
impl<'repo> !Sync for DirectoryEntry<'repo>
impl<'repo> Unpin for DirectoryEntry<'repo>
impl<'repo> UnwindSafe for DirectoryEntry<'repo>
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