pub struct DirContent {
pub dir_size: u64,
pub files: Vec<String>,
pub directories: Vec<String>,
}
Expand description
A structure which include information about directory
Fields§
§dir_size: u64
Directory size in bytes.
files: Vec<String>
List all files directory and sub directories.
directories: Vec<String>
List all folders and sub folders directory.
Auto Trait Implementations§
impl Freeze for DirContent
impl RefUnwindSafe for DirContent
impl Send for DirContent
impl Sync for DirContent
impl Unpin for DirContent
impl UnwindSafe for DirContent
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