Struct fs_extra::dir::DirOptions
[−]
[src]
pub struct DirOptions { pub depth: u64, }
Options and flags which can be used to configure how read a directory.
Fields
depth: u64
Sets levels reading. Set value 0 for read all directory folder. By default 0.
Methods
impl DirOptions
[src]
fn new() -> DirOptions
[src]
Initialize struct DirOptions with default value.
⚠Be careful when using this code, it's not being tested!
depth: 0
Trait Implementations
impl Clone for DirOptions
[src]
fn clone(&self) -> DirOptions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more