pub struct DirOptions {
pub depth: u64,
}
Fields§
§depth: u64
Sets levels reading. Set value 0 for read all directory folder. By default 0.
Implementations§
Source§impl DirOptions
impl DirOptions
Sourcepub fn new() -> DirOptions
pub fn new() -> DirOptions
Initialize struct DirOptions with default value.
Trait Implementations§
Source§impl Clone for DirOptions
impl Clone for DirOptions
Source§fn clone(&self) -> DirOptions
fn clone(&self) -> DirOptions
Returns a copy 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 Default for DirOptions
impl Default for DirOptions
Source§fn default() -> DirOptions
fn default() -> DirOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DirOptions
impl RefUnwindSafe for DirOptions
impl Send for DirOptions
impl Sync for DirOptions
impl Unpin for DirOptions
impl UnwindSafe for DirOptions
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