pub struct CreateDirOptions {
pub recursive: bool,
pub exists_ok: bool,
pub user_metadata: Metadata,
}Expand description
Options controlling directory or collection creation.
Fields§
§recursive: boolWhether missing parent directories should be created.
exists_ok: boolWhether an existing directory should be accepted.
user_metadata: MetadataUser-defined metadata to attach when supported.
Trait Implementations§
Source§impl Clone for CreateDirOptions
impl Clone for CreateDirOptions
Source§fn clone(&self) -> CreateDirOptions
fn clone(&self) -> CreateDirOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateDirOptions
impl Debug for CreateDirOptions
Source§impl Default for CreateDirOptions
impl Default for CreateDirOptions
Source§impl PartialEq for CreateDirOptions
impl PartialEq for CreateDirOptions
Source§fn eq(&self, other: &CreateDirOptions) -> bool
fn eq(&self, other: &CreateDirOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateDirOptions
Auto Trait Implementations§
impl Freeze for CreateDirOptions
impl RefUnwindSafe for CreateDirOptions
impl Send for CreateDirOptions
impl Sync for CreateDirOptions
impl Unpin for CreateDirOptions
impl UnsafeUnpin for CreateDirOptions
impl UnwindSafe for CreateDirOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoValueDefault<T> for T
impl<T> IntoValueDefault<T> for T
Source§fn into_value_default(self) -> T
fn into_value_default(self) -> T
Converts this argument into the default value.